summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-09-17 17:51:00 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-09-17 17:51:00 +0200
commitac03b15e3c173b58b892cb6e904173870aa1b81b (patch)
tree1407de7da1382a7790d9dc8751063153edbdb539 /ext/sysvmsg
parent819ae353a79ee79e20fe93e4fd53e96097c9f89f (diff)
downloadphp-git-ac03b15e3c173b58b892cb6e904173870aa1b81b.tar.gz
Remove __USE_GNU defines
This is an internal glibc macro, it should not be necessary to use it if we already define _GNU_SOURCE (we do through AC_USE_SYSTEM_EXTENSIONS). Needing to use __USE_GNU generally indicates an inclusion order problem (libc header included before config.h).
Diffstat (limited to 'ext/sysvmsg')
-rw-r--r--ext/sysvmsg/sysvmsg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c
index 416d5c4594..a00b73ee8a 100644
--- a/ext/sysvmsg/sysvmsg.c
+++ b/ext/sysvmsg/sysvmsg.c
@@ -27,11 +27,6 @@
#include "ext/standard/php_var.h"
#include "zend_smart_str.h"
-#ifndef __USE_GNU
-/* we want to use mtype instead of __mtype */
-#define __USE_GNU
-#endif
-
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>