[mapserver-commits] r11235 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Mar 18 12:04:35 EDT 2011


Author: aboudreault
Date: 2011-03-18 09:04:34 -0700 (Fri, 18 Mar 2011)
New Revision: 11235

Modified:
   trunk/mapserver/mapogcfilter.c
   trunk/mapserver/mapogcsos.c
   trunk/mapserver/mapwms.c
Log:
Fixed warnings related to strcasestr

Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c	2011-03-18 16:03:35 UTC (rev 11234)
+++ trunk/mapserver/mapogcfilter.c	2011-03-18 16:04:34 UTC (rev 11235)
@@ -27,6 +27,8 @@
  ****************************************************************************/
 
 
+#define _GNU_SOURCE
+
 #ifdef USE_OGR
 #include "cpl_minixml.h"
 #endif

Modified: trunk/mapserver/mapogcsos.c
===================================================================
--- trunk/mapserver/mapogcsos.c	2011-03-18 16:03:35 UTC (rev 11234)
+++ trunk/mapserver/mapogcsos.c	2011-03-18 16:04:34 UTC (rev 11235)
@@ -27,6 +27,8 @@
  * DEALINGS IN THE SOFTWARE.
  **********************************************************************/
 
+#define _GNU_SOURCE
+
 #include "mapserver.h"
 
 
@@ -3192,4 +3194,3 @@
   }
 }
 #endif /* defined(USE_SOS_SVR) && defined(USE_LIBXML2) */
-

Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c	2011-03-18 16:03:35 UTC (rev 11234)
+++ trunk/mapserver/mapwms.c	2011-03-18 16:04:34 UTC (rev 11235)
@@ -27,6 +27,8 @@
  * DEALINGS IN THE SOFTWARE.
  *****************************************************************************/
 
+#define _GNU_SOURCE
+
 #include "mapserver.h"
 #include "maperror.h"
 #include "mapgml.h"



More information about the mapserver-commits mailing list