From ac03b15e3c173b58b892cb6e904173870aa1b81b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 17 Sep 2018 17:51:00 +0200 Subject: 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). --- ext/sysvmsg/sysvmsg.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/sysvmsg') 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 #include #include -- cgit v1.2.1