Skip to content

Commit 7689b8f

Browse files
committed
Fix [-Wundef] warning in CType extension
1 parent 17ca010 commit 7689b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/ctype/ctype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include <ctype.h>
2929

30-
#if HAVE_CTYPE
30+
#ifdef HAVE_CTYPE
3131

3232
static PHP_MINFO_FUNCTION(ctype);
3333

ext/ctype/php_ctype.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "php_version.h"
2121
#define PHP_CTYPE_VERSION PHP_VERSION
2222

23-
#if HAVE_CTYPE
23+
#ifdef HAVE_CTYPE
2424

2525
extern zend_module_entry ctype_module_entry;
2626
#define phpext_ctype_ptr &ctype_module_entry

0 commit comments

Comments
 (0)