Skip to content

Commit e3b2859

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Add missing ICU version check
2 parents 19c62e8 + 6eb4daa commit e3b2859

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/intl/spoofchecker/spoofchecker_class.h

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ extern zend_class_entry *Spoofchecker_ce_ptr;
7878
RETURN_FALSE; \
7979
} \
8080

81+
#if U_ICU_VERSION_MAJOR_NUM >= 58
8182
#define SPOOFCHECKER_DEFAULT_RESTRICTION_LEVEL USPOOF_HIGHLY_RESTRICTIVE
83+
#endif
8284

8385
#endif // #ifndef SPOOFCHECKER_CLASS_H

0 commit comments

Comments
 (0)