From: Remi Collet Date: Mon, 22 Apr 2013 17:58:30 +0000 (+0000) Subject: fix php 5.4 build X-Git-Tag: RELEASE_1_7_6~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5bf7a3bf400cc6480123da022b19a6338913c8f6;p=m6w6%2Fext-http fix php 5.4 build --- 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