diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-12 17:59:17 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-16 15:31:20 +0200 |
commit | 68164f40ce1909208cfa47fe9c2134718bd780a5 (patch) | |
tree | 727778d84caa74cb05ffcd029fedee804d256797 /ext/mbstring/php_mbregex.c | |
parent | c19887496e9a3d3516368aa3cd8219e48e4fdca4 (diff) | |
download | php-git-68164f40ce1909208cfa47fe9c2134718bd780a5.tar.gz |
Fix [-Wundef] warning in MBString extension
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r-- | ext/mbstring/php_mbregex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 43855545d7..bc36596988 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -21,7 +21,7 @@ #include "php.h" #include "php_ini.h" -#if HAVE_MBREGEX +#ifdef HAVE_MBREGEX #include "zend_smart_str.h" #include "ext/standard/info.h" @@ -33,7 +33,7 @@ #include <oniguruma.h> #undef UChar -#if ONIGURUMA_VERSION_INT < 60800 +#if !defined(ONIGURUMA_VERSION_INT) || ONIGURUMA_VERSION_INT < 60800 typedef void OnigMatchParam; #define onig_new_match_param() (NULL) #define onig_initialize_match_param(x) (void)(x) |