__USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE

SVN revision: 33619
This commit is contained in:
Mike Frysinger 2008-01-26 06:01:00 +00:00
parent 2f8cb706fd
commit ada82df743
1 changed files with 4 additions and 10 deletions

View File

@ -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 <config.h>
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <dirent.h> /* DIR, dirent */