]> granicus.if.org Git - php/commitdiff
fix PHAR_ARG_INFO #define to work with PHP major versions > 5
authorGreg Beaver <cellog@php.net>
Fri, 24 Jul 2009 21:27:51 +0000 (21:27 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 24 Jul 2009 21:27:51 +0000 (21:27 +0000)
ext/phar/phar_object.c

index ab3975ebd4b60b0c091bc601af3b943649d7ed5b..2bc2f4394c01875b103cbea7ad4ec8477653b17c 100755 (executable)
@@ -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