summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-16 16:01:40 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-18 00:37:17 +0200
commit714c5f0b702ff9c3b575013a3b6f24d03e78fe8d (patch)
tree4869fccf8e95d5b8f6bd0d27e9a155b232048dc7
parent2df6482db96632a1c5794720b792daeddc7cdfa1 (diff)
downloadphp-git-714c5f0b702ff9c3b575013a3b6f24d03e78fe8d.tar.gz
Fix [-Wundef] warning in Sysvmsg extension
-rw-r--r--ext/sysvmsg/php_sysvmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sysvmsg/php_sysvmsg.h b/ext/sysvmsg/php_sysvmsg.h
index 5aa075f741..ae91051f1f 100644
--- a/ext/sysvmsg/php_sysvmsg.h
+++ b/ext/sysvmsg/php_sysvmsg.h
@@ -17,7 +17,7 @@
#ifndef PHP_SYSVMSG_H
#define PHP_SYSVMSG_H
-#if HAVE_SYSVMSG
+#ifdef HAVE_SYSVMSG
extern zend_module_entry sysvmsg_module_entry;
#define phpext_sysvmsg_ptr &sysvmsg_module_entry