[mapserver-commits] r11390 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Mar 30 12:15:49 EDT 2011


Author: dmorissette
Date: 2011-03-30 09:15:49 -0700 (Wed, 30 Mar 2011)
New Revision: 11390

Modified:
   trunk/mapserver/mapserver.h
Log:
Avoid duplicate definition of _GNU_SOURCE

Modified: trunk/mapserver/mapserver.h
===================================================================
--- trunk/mapserver/mapserver.h	2011-03-30 16:02:04 UTC (rev 11389)
+++ trunk/mapserver/mapserver.h	2011-03-30 16:15:49 UTC (rev 11390)
@@ -46,7 +46,7 @@
 ** Main includes. If a particular header was needed by several .c files then
 ** I just put it here. What the hell, it works and it's all right here. -SDL-
 */
-#ifndef NEED_STRCASESTR
+#if !defined(NEED_STRCASESTR) && !defined(_GNU_SOURCE)
 #define _GNU_SOURCE /* Required for <string.h> strcasestr() defn */
 #endif
 



More information about the mapserver-commits mailing list