summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_alloc.c3
-rw-r--r--ext/posix/posix.c5
-rw-r--r--ext/sysvmsg/sysvmsg.c5
3 files changed, 0 insertions, 13 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 95727d126b..94ae805a64 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -88,9 +88,6 @@
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# endif
-# ifndef __USE_GNU
-# define __USE_GNU
-# endif
# endif
# include <sys/mman.h>
# ifndef MAP_ANON
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 5a2f352e41..5952a4d05b 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -34,11 +34,6 @@
#endif
#include <sys/resource.h>
-
-#if defined(_GNU_SOURCE) && !defined(__USE_GNU)
-# define __USE_GNU
-#endif
-
#include <sys/utsname.h>
#include <sys/types.h>
#include <sys/stat.h>
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>