Skip to content

Commit

Permalink
Add missing ICU version check
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Oct 30, 2017
1 parent fc169d2 commit 68c5004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/intl/spoofchecker/spoofchecker_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 68c5004

Please sign in to comment.