Don't touch internal feature macros in eglib
authorJonas 'Sortie' Termansen <sortie@maxsi.org>
Mon, 23 Jun 2014 22:43:40 +0000 (00:43 +0200)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 26 Jun 2014 14:09:15 +0000 (10:09 -0400)
The __USE_GNU macro is an internal macro used by glibc to enable the GNU
extensions. Programs are instead meant to use the _GNU_SOURCE macro before
including any system header.

This change is released under the MIT/X11 license.

eglib/src/gspawn.c

index 836e6f2aa9c6c551113692c2da65059b72e92a37..23443f9815fee0752abd50f8f26867e131acc170 100644 (file)
@@ -35,9 +35,6 @@
 #include <glib.h>
 
 #ifdef HAVE_UNISTD_H
-#ifndef __USE_GNU
-#define __USE_GNU
-#endif
 #include <unistd.h>
 #endif