Skip to content

Commit e72670f

Browse files
committed
Fix [-Wundef] warning in PCRE extension
1 parent 8f1a2de commit e72670f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/pcre/pcre2lib/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#endif
2121

2222
/* Define to any value for valgrind support to find invalid memory reads. */
23-
#if HAVE_PCRE_VALGRIND_SUPPORT
23+
#ifdef HAVE_PCRE_VALGRIND_SUPPORT
2424
#define SUPPORT_VALGRIND 1
2525
#endif
2626

2727
/* Define to any value to enable support for Just-In-Time compiling. */
28-
#if HAVE_PCRE_JIT_SUPPORT
28+
#ifdef HAVE_PCRE_JIT_SUPPORT
2929
#define SUPPORT_JIT
3030
#endif
3131

ext/pcre/php_pcre.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef PHP_PCRE_H
1818
#define PHP_PCRE_H
1919

20-
#if HAVE_BUNDLED_PCRE
20+
#ifdef HAVE_BUNDLED_PCRE
2121
#include "pcre2lib/pcre2.h"
2222
#else
2323
#include "pcre2.h"

0 commit comments

Comments
 (0)