From: Greg Beaver Date: Fri, 24 Jul 2009 21:27:51 +0000 (+0000) Subject: fix PHAR_ARG_INFO #define to work with PHP major versions > 5 X-Git-Tag: php-5.4.0alpha1~191^2~2998 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54b20e7d0120ee3f019a3f0baabbe35f5bd77339;p=php fix PHAR_ARG_INFO #define to work with PHP major versions > 5 --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index ab3975ebd4..2bc2f4394c 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_MINOR_VERSION >= 3) +#if PHP_MAJOR_VERSION > 5 || ((PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION >= 3)) # define PHAR_ARG_INFO #else # define PHAR_ARG_INFO static