summaryrefslogtreecommitdiff
path: root/ext/intl/spoofchecker/spoofchecker_create.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-02-16 13:37:38 +0100
committerAnatol Belski <ab@php.net>2018-02-16 13:40:44 +0100
commitda0ed5cdb13b7a6ca59c2c1653c6f6665aec81d2 (patch)
treecac2058fb48f77f143df246ff1f49bd371c207fa /ext/intl/spoofchecker/spoofchecker_create.c
parentda5db1c9b2125540d45fe581f6fd3c369e549985 (diff)
downloadphp-git-da0ed5cdb13b7a6ca59c2c1653c6f6665aec81d2.tar.gz
Wrap var depending on conditional compilation
Diffstat (limited to 'ext/intl/spoofchecker/spoofchecker_create.c')
-rw-r--r--ext/intl/spoofchecker/spoofchecker_create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/spoofchecker/spoofchecker_create.c b/ext/intl/spoofchecker/spoofchecker_create.c
index 8108cafa2f..34536f84a5 100644
--- a/ext/intl/spoofchecker/spoofchecker_create.c
+++ b/ext/intl/spoofchecker/spoofchecker_create.c
@@ -28,7 +28,9 @@
*/
PHP_METHOD(Spoofchecker, __construct)
{
+#if U_ICU_VERSION_MAJOR_NUM < 58
int checks;
+#endif
zend_error_handling error_handling;
SPOOFCHECKER_METHOD_INIT_VARS;