summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-04-11 14:54:58 +0200
committerAnatol Belski <ab@php.net>2016-04-11 15:01:22 +0200
commitf62943edc8f9803b900cc44585beff18cf1361eb (patch)
tree83f68887be7c613ba5e91bfe228b3163bb43be66
parentc0b821d2e941daf7ff9a4b43765d4f32a4c79c6b (diff)
downloadphp-git-f62943edc8f9803b900cc44585beff18cf1361eb.tar.gz
fix version macro to check
-rw-r--r--ext/intl/dateformat/dateformat_create.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp
index 51ec063270..00a5cc593c 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