From: Xinchen Hui Date: Fri, 15 Aug 2014 10:38:31 +0000 (+0800) Subject: Better version checking X-Git-Tag: PRE_64BIT_BRANCH_MERGE~53^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=617b1759c4f0e3160bdfcc346ee668e9dda2fad8;p=php Better version checking --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 3d403fff57..74f06e71dd 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -30,7 +30,7 @@ static zend_class_entry *phar_ce_PharException; static zend_class_entry *phar_ce_entry; #endif -#if PHP_MAJOR_VERSION > 5 || ((PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION >= 3)) +#if PHP_VERSION_ID >= 53000 # define PHAR_ARG_INFO #else # define PHAR_ARG_INFO static