do not redefine _GNU_SOURCE if configure already set it up for us

SVN revision: 41895
This commit is contained in:
Mike Frysinger 2009-08-20 18:38:38 +00:00
parent 8ed6bd1597
commit 652f8f3a86
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@
# endif
# ifdef __GNUC__
# define _GNU_SOURCE
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# endif
# else
# define _XOPEN_SOURCE 600
# define _XOPEN_SOURCE_EXTENDED 1