From 617b1759c4f0e3160bdfcc346ee668e9dda2fad8 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 15 Aug 2014 18:38:31 +0800 Subject: [PATCH] Better version checking --- ext/phar/phar_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1