projects
/
m6w6
/
ext-propro
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
interruption
[m6w6/ext-propro]
/
php_propro.h
diff --git
a/php_propro.h
b/php_propro.h
index 669529be976019cf379d8bcfc20b38f3619ac46c..79c19925975d4402ad8220ea1a569966a53672ad 100644
(file)
--- a/
php_propro.h
+++ b/
php_propro.h
@@
-32,6
+32,11
@@
extern zend_module_entry propro_module_entry;
# include <TSRM/TSRM.h>
#endif
# include <TSRM/TSRM.h>
#endif
+#ifdef IS_UNDEF /* TODO: replace with version check */
+#define PHPNG
+#define zend_object_value zend_object
+#endif
+
#endif
/**
#endif
/**
@@
-95,8
+100,10
@@
typedef struct php_property_proxy php_property_proxy_t;
* ~~~~~~~~~~
*/
struct php_property_proxy_object {
* ~~~~~~~~~~
*/
struct php_property_proxy_object {
+#ifndef PHPNG
/** The std zend_object */
zend_object zo;
/** The std zend_object */
zend_object zo;
+#endif
/** The object value for easy zval creation */
zend_object_value zv;
/** The actual property proxy */
/** The object value for easy zval creation */
zend_object_value zv;
/** The actual property proxy */