summaryrefslogtreecommitdiff
path: root/ext/intl/normalizer/normalizer.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-04-06 21:33:13 +0200
committerAnatol Belski <ab@php.net>2018-04-06 21:33:13 +0200
commit14de058086d76ac344fde67fc343023fc00279a9 (patch)
treeee01d1be783863a44d79faa9e06eeb84d9dfbb64 /ext/intl/normalizer/normalizer.h
parent39301abbe19973e60ac4dbdb1d98da77fe7dfc52 (diff)
downloadphp-git-14de058086d76ac344fde67fc343023fc00279a9.tar.gz
Rethink conditions
Raise the requirement to ICU 56. Mixing both old and new normalizer APIs would create too much complexity. Therefore go by the recommended ICU version where all the normalizer API became stable. For the older ICU, the deprecated normalizer API is used.
Diffstat (limited to 'ext/intl/normalizer/normalizer.h')
-rw-r--r--ext/intl/normalizer/normalizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/normalizer/normalizer.h b/ext/intl/normalizer/normalizer.h
index 8150f244f6..57f0466782 100644
--- a/ext/intl/normalizer/normalizer.h
+++ b/ext/intl/normalizer/normalizer.h
@@ -19,7 +19,7 @@
#include <php.h>
#include <unicode/utypes.h>
-#if U_ICU_VERSION_MAJOR_NUM < 49
+#if U_ICU_VERSION_MAJOR_NUM < 56
#include <unicode/unorm.h>
#define NORMALIZER_NONE UNORM_NONE