Fix [-Wundef] warning in PCRE extension

This commit is contained in:
George Peter Banyard 2020-05-20 13:59:38 +02:00
parent 1f72dd89a5
commit d50b076fa3
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"