diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-20 13:59:38 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-20 14:01:10 +0200 |
commit | d50b076fa30f5b88e05aa29cfbb70da9b0c312e4 (patch) | |
tree | 93af5fbfbe039bca4c2ba9760c5e41e69db619f0 /ext/pcre | |
parent | 1f72dd89a5f80663f25f9cf2981781e8fd9f73d4 (diff) | |
download | php-git-d50b076fa30f5b88e05aa29cfbb70da9b0c312e4.tar.gz |
Fix [-Wundef] warning in PCRE extension
Diffstat (limited to 'ext/pcre')
-rw-r--r-- | ext/pcre/pcre2lib/config.h | 4 | ||||
-rw-r--r-- | ext/pcre/php_pcre.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcre/pcre2lib/config.h b/ext/pcre/pcre2lib/config.h index 7864897743..9bd2a9e1ba 100644 --- a/ext/pcre/pcre2lib/config.h +++ b/ext/pcre/pcre2lib/config.h @@ -20,12 +20,12 @@ #endif /* Define to any value for valgrind support to find invalid memory reads. */ -#if HAVE_PCRE_VALGRIND_SUPPORT +#ifdef HAVE_PCRE_VALGRIND_SUPPORT #define SUPPORT_VALGRIND 1 #endif /* Define to any value to enable support for Just-In-Time compiling. */ -#if HAVE_PCRE_JIT_SUPPORT +#ifdef HAVE_PCRE_JIT_SUPPORT #define SUPPORT_JIT #endif diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index bf78f992fa..4666f11b78 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -17,7 +17,7 @@ #ifndef PHP_PCRE_H #define PHP_PCRE_H -#if HAVE_BUNDLED_PCRE +#ifdef HAVE_BUNDLED_PCRE #include "pcre2lib/pcre2.h" #else #include "pcre2.h" |