From 652f8f3a86c51396a69aa6e172273771c1af3c84 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Aug 2009 18:38:38 +0000 Subject: [PATCH] do not redefine _GNU_SOURCE if configure already set it up for us SVN revision: 41895 --- src/feature.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/feature.h b/src/feature.h index 2fd2b15..59a5666 100644 --- a/src/feature.h +++ b/src/feature.h @@ -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