Fix [-Wundef] warning in SHMOP extension

This commit is contained in:
George Peter Banyard 2020-05-20 13:59:56 +02:00
parent 85104fae37
commit f23b3026bc
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
#ifndef PHP_SHMOP_H
#define PHP_SHMOP_H
#if HAVE_SHMOP
#ifdef HAVE_SHMOP
extern zend_module_entry shmop_module_entry;
#define phpext_shmop_ptr &shmop_module_entry

View file

@ -34,7 +34,7 @@
#endif
#if HAVE_SHMOP
#ifdef HAVE_SHMOP
#include "ext/standard/info.h"