com php-src: fix version macro to check: ext/intl/dateformat/da teformat_create.cpp

From: Date: Mon, 11 Apr 2016 13:01:22 +0000
Subject: com php-src: fix version macro to check: ext/intl/dateformat/da teformat_create.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91687@lists.php.net to get a copy of this message
Commit: f62943edc8f9803b900cc44585beff18cf1361eb Author: Anatol Belski <ab@php.net> Mon, 11 Apr 2016 14:54:58 +0200 Parents: c0b821d2e941daf7ff9a4b43765d4f32a4c79c6b Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f62943edc8f9803b900cc44585beff18cf1361eb Log: fix version macro to check Changed paths: M ext/intl/dateformat/dateformat_create.cpp Diff: diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp index 51ec063..00a5cc5 100644 --- a/ext/intl/dateformat/dateformat_create.cpp +++ b/ext/intl/dateformat/dateformat_create.cpp @@ -36,7 +36,7 @@ extern "C" { #include "dateformat_helpers.h" #include "zend_exceptions.h" -#if U_ICU_VERSION_MINOR_NUM < 50 +#if U_ICU_VERSION_MAJOR_NUM < 50 #define UDAT_PATTERN 0 #endif

« previous php.cvs (#91687) next »