[mapserver-commits] r8010 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Nov 6 11:57:27 EST 2008


Author: pramsey
Date: 2008-11-06 11:57:27 -0500 (Thu, 06 Nov 2008)
New Revision: 8010

Modified:
   trunk/mapserver/mappostgis.c
   trunk/mapserver/mappostgis.h
Log:
Remove build warnings for GNU systems


Modified: trunk/mapserver/mappostgis.c
===================================================================
--- trunk/mapserver/mappostgis.c	2008-11-06 01:17:18 UTC (rev 8009)
+++ trunk/mapserver/mappostgis.c	2008-11-06 16:57:27 UTC (rev 8010)
@@ -53,6 +53,9 @@
 **
 */
 
+/* GNU needs this for strcasestr */
+#define _GNU_SOURCE
+
 #include <assert.h>
 #include <string.h>
 #include "mapserver.h"

Modified: trunk/mapserver/mappostgis.h
===================================================================
--- trunk/mapserver/mappostgis.h	2008-11-06 01:17:18 UTC (rev 8009)
+++ trunk/mapserver/mappostgis.h	2008-11-06 16:57:27 UTC (rev 8010)
@@ -35,4 +35,5 @@
 char *msPostGISBuildSQL(layerObj *layer, rectObj *rect, long *uid);
 int msPostGISParseData(layerObj *layer);
 
-#endif /* USE_POSTGIS */
\ No newline at end of file
+#endif /* USE_POSTGIS */
+



More information about the mapserver-commits mailing list