Fix [-Wundef] warning in CType extension

This commit is contained in:
George Peter Banyard 2020-05-12 22:29:51 +02:00
parent 0e016f2843
commit b35addc585
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#include <ctype.h>
#if HAVE_CTYPE
#ifdef HAVE_CTYPE
static PHP_MINFO_FUNCTION(ctype);

View File

@ -20,7 +20,7 @@
#include "php_version.h"
#define PHP_CTYPE_VERSION PHP_VERSION
#if HAVE_CTYPE
#ifdef HAVE_CTYPE
extern zend_module_entry ctype_module_entry;
#define phpext_ctype_ptr &ctype_module_entry