diff options
author | Anatol Belski <ab@php.net> | 2018-02-16 13:37:38 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-02-16 13:40:44 +0100 |
commit | da0ed5cdb13b7a6ca59c2c1653c6f6665aec81d2 (patch) | |
tree | cac2058fb48f77f143df246ff1f49bd371c207fa /ext/intl/spoofchecker/spoofchecker_create.c | |
parent | da5db1c9b2125540d45fe581f6fd3c369e549985 (diff) | |
download | php-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.c | 2 |
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; |