interruption
[m6w6/ext-propro] / php_propro.h
index 669529be976019cf379d8bcfc20b38f3619ac46c..79c19925975d4402ad8220ea1a569966a53672ad 100644 (file)
@@ -32,6 +32,11 @@ extern zend_module_entry propro_module_entry;
 #      include <TSRM/TSRM.h>
 #endif
 
+#ifdef IS_UNDEF /* TODO: replace with version check */
+#define PHPNG
+#define zend_object_value zend_object
+#endif
+
 #endif
 
 /**
@@ -95,8 +100,10 @@ typedef struct php_property_proxy php_property_proxy_t;
  * ~~~~~~~~~~
  */
 struct php_property_proxy_object {
+#ifndef PHPNG
        /** The std zend_object */
        zend_object zo;
+#endif
        /** The object value for easy zval creation */
        zend_object_value zv;
        /** The actual property proxy */