Skip to content

Commit f907571

Browse files
authored
ext/intl: Add spoofchecker files unconditionally on Windows (#21621)
This check was once relevant for ICU versions < 4.2 which lack the unicode/uspoof.h header file. See: 6f6d608
1 parent 7cc45e0 commit f907571

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ext/intl/config.w32

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,11 @@ if (PHP_INTL != "no") {
9292
resourcebundle_iterator.cpp",
9393
"intl");
9494

95-
if (CHECK_HEADER("unicode/uspoof.h", "CFLAGS_INTL")) {
96-
ADD_SOURCES(configure_module_dirname + "/spoofchecker", "\
97-
spoofchecker_class.cpp \
98-
spoofchecker_create.cpp \
99-
spoofchecker_main.cpp",
100-
"intl");
101-
}
95+
ADD_SOURCES(configure_module_dirname + "/spoofchecker", "\
96+
spoofchecker_class.cpp \
97+
spoofchecker_create.cpp \
98+
spoofchecker_main.cpp",
99+
"intl");
102100

103101
ADD_SOURCES(configure_module_dirname + "/transliterator", "\
104102
transliterator_class.cpp \

0 commit comments

Comments
 (0)