From ada82df743b366e81d14f47ecccd3b5e2fc2ae5c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Jan 2008 06:01:00 +0000 Subject: [PATCH] __USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE SVN revision: 33619 --- legacy/evas/src/lib/file/evas_module.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/legacy/evas/src/lib/file/evas_module.c b/legacy/evas/src/lib/file/evas_module.c index ee3dc8bc04..4c41440b7f 100644 --- a/legacy/evas/src/lib/file/evas_module.c +++ b/legacy/evas/src/lib/file/evas_module.c @@ -1,13 +1,7 @@ -#ifdef __GNUC__ -# ifndef __USE_GNU -# define __USE_GNU -# endif -# ifndef _GNU_SOURCE -# define _GNU_SOURCE -# endif -# ifndef _BSD_SOURCE -# define _BSD_SOURCE -# endif +#include + +#ifndef _GNU_SOURCE +# define _GNU_SOURCE #endif #include /* DIR, dirent */