fix php 5.4 build
authorRemi Collet <remi@php.net>
Mon, 22 Apr 2013 17:58:30 +0000 (17:58 +0000)
committerRemi Collet <remi@php.net>
Mon, 22 Apr 2013 17:58:30 +0000 (17:58 +0000)
missing.h

index 0186ea50b3f8efb7c5a2207e62d945e1b52a4aee..3efe1a2b2873b163188f9951b80a98b9ebdf4841 100644 (file)
--- a/missing.h
+++ b/missing.h
 #define ZEND_ENGINE_2_4
 #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
+#if defined(PHP_VERSION_ID) && (PHP_VERSION_ID >= 50500)
+#      define ZEND_GET_PPTR_TYPE_DC , int type
+#      define ZEND_GET_PPTR_TYPE_CC , type
+#else
+#      define ZEND_GET_PPTR_TYPE_DC
+#      define ZEND_GET_PPTR_TYPE_CC
 #endif
+
+#if defined(PHP_VERSION_ID) && (PHP_VERSION_ID >= 50399)
 #      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
@@ -46,8 +50,6 @@
        }
 
 #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