X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=0186ea50b3f8efb7c5a2207e62d945e1b52a4aee;hp=6afa3acbfef9eb1e1dbf8575f098e0a5d6f7b85f;hb=d49be1d46a5015f4b7daf1cb56754ba791cf9ec5;hpb=d7ce6cca59bb57636f075048fc3ff48038c3e45e diff --git a/missing.h b/missing.h index 6afa3ac..0186ea5 100644 --- a/missing.h +++ b/missing.h @@ -22,6 +22,10 @@ #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