]> granicus.if.org Git - php/commitdiff
Better version checking
authorXinchen Hui <laruence@php.net>
Fri, 15 Aug 2014 10:38:31 +0000 (18:38 +0800)
committerXinchen Hui <laruence@php.net>
Fri, 15 Aug 2014 10:38:31 +0000 (18:38 +0800)
ext/phar/phar_object.c

index 3d403fff57648013a9a1f36d9baa07cc1b5177d7..74f06e71dd2e65fd6199d8e3df3af46990e81279 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_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION >= 3))
+#if PHP_VERSION_ID >= 53000
 # define PHAR_ARG_INFO
 #else
 # define PHAR_ARG_INFO static