fix bug #64380 (http_message_object.c build fails in 5.5.0alpha6)
[m6w6/ext-http] / missing.h
index 6afa3acbfef9eb1e1dbf8575f098e0a5d6f7b85f..0186ea50b3f8efb7c5a2207e62d945e1b52a4aee 100644 (file)
--- a/missing.h
+++ b/missing.h
 #endif
 
 #if defined(PHP_VERSION_ID) && (PHP_VERSION_ID >= 50399)
+#      if defined(PHP_VERSION_ID) && (PHP_VERSION_ID >= 50500)
+#              define ZEND_GET_PPTR_TYPE_DC , int type
+#              define ZEND_GET_PPTR_TYPE_CC , type
+#endif
 #      define ZEND_LITERAL_KEY_DC , const zend_literal *_zend_literal_key
 #      define ZEND_LITERAL_KEY_CC , _zend_literal_key
 #      define ZEND_LITERAL_NIL_CC , NULL
@@ -42,6 +46,8 @@
        }
 
 #else
+#      define ZEND_GET_PPTR_TYPE_DC
+#      define ZEND_GET_PPTR_TYPE_CC
 #      define ZEND_LITERAL_KEY_DC
 #      define ZEND_LITERAL_KEY_CC
 #      define ZEND_LITERAL_NIL_CC