]> granicus.if.org Git - php/commitdiff
fix version macro to check
authorAnatol Belski <ab@php.net>
Mon, 11 Apr 2016 12:54:58 +0000 (14:54 +0200)
committerAnatol Belski <ab@php.net>
Mon, 11 Apr 2016 13:01:22 +0000 (15:01 +0200)
ext/intl/dateformat/dateformat_create.cpp

index 51ec063270cecfb8ae606b6d12feb6ef6a2436e1..00a5cc593c8a8690f00ef23c67da582cd6e38836 100644 (file)
@@ -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