Skip to content

Commit 8871616

Browse files
committed
Fix [-Wundef] warning in SHMOP extension
1 parent 7ba7637 commit 8871616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/shmop/php_shmop.h

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

20-
#if HAVE_SHMOP
20+
#ifdef HAVE_SHMOP
2121

2222
extern zend_module_entry shmop_module_entry;
2323
#define phpext_shmop_ptr &shmop_module_entry

ext/shmop/shmop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#endif
3535

3636

37-
#if HAVE_SHMOP
37+
#ifdef HAVE_SHMOP
3838

3939
#include "ext/standard/info.h"
4040

0 commit comments

Comments
 (0)