summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pcre/pcre2lib/config.h4
-rw-r--r--ext/pcre/php_pcre.h2
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"