diff options
author | Anatol Belski <ab@php.net> | 2017-10-30 18:15:26 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-10-30 18:15:26 +0100 |
commit | 68c500421cc1833dfc366f9ff287dd995217dc88 (patch) | |
tree | 2e854df19f5b9de0af760395fee4636c27517ddb /ext | |
parent | fc169d2133a0507addbfd4f3b0cafe224b6e2c38 (diff) | |
download | php-git-68c500421cc1833dfc366f9ff287dd995217dc88.tar.gz |
Add missing ICU version check
Diffstat (limited to 'ext')
-rw-r--r-- | ext/intl/spoofchecker/spoofchecker_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/spoofchecker/spoofchecker_class.h b/ext/intl/spoofchecker/spoofchecker_class.h index d6f2c2d543..c0cb0c5327 100644 --- a/ext/intl/spoofchecker/spoofchecker_class.h +++ b/ext/intl/spoofchecker/spoofchecker_class.h @@ -78,6 +78,8 @@ extern zend_class_entry *Spoofchecker_ce_ptr; RETURN_FALSE; \ } \ +#if U_ICU_VERSION_MAJOR_NUM >= 58 #define SPOOFCHECKER_DEFAULT_RESTRICTION_LEVEL USPOOF_HIGHLY_RESTRICTIVE +#endif #endif // #ifndef SPOOFCHECKER_CLASS_H |