X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=3efe1a2b2873b163188f9951b80a98b9ebdf4841;hp=0186ea50b3f8efb7c5a2207e62d945e1b52a4aee;hb=refs%2Fheads%2Fv1.7.x;hpb=d49be1d46a5015f4b7daf1cb56754ba791cf9ec5 diff --git a/missing.h b/missing.h index 0186ea5..3efe1a2 100644 --- a/missing.h +++ b/missing.h @@ -21,11 +21,15 @@ #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