Moved _GNU_SOURCE declaration to webcit.h so all source modules have it defined.
authorArt Cancro <ajc@citadel.org>
Sat, 11 Feb 2006 04:33:18 +0000 (04:33 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 11 Feb 2006 04:33:18 +0000 (04:33 +0000)
webcit/gettext.c
webcit/webcit.h

index 70af1ef5a9714c824061d1081aa39376ca875aa9..3596c5d7c5103d5bdc868f74800d49aa831632ad 100644 (file)
@@ -6,8 +6,6 @@
  * \ingroup WebcitHttpServer 
  */
 /*@{*/
-/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */
-#define _GNU_SOURCE
 #include "webcit.h"
 #include "webserver.h"
 
index 0bc43474bdaa8d72565c6cb003cc8e325ff0686f..ecd8d5d2de3eb9933fdc5746c961b3e68211dac9 100644 (file)
@@ -1,5 +1,9 @@
 /* $Id$ */
 
+/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */
+#define _GNU_SOURCE
+
+
 #include <ctype.h>
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H