[mapserver-commits] r9673 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jan 7 14:13:06 EST 2010


Author: pramsey
Date: 2010-01-07 14:13:03 -0500 (Thu, 07 Jan 2010)
New Revision: 9673

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapfile.c
Log:
Fix compilation warnings around use of strcasestr (#3257)



Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2010-01-06 19:46:48 UTC (rev 9672)
+++ trunk/mapserver/HISTORY.TXT	2010-01-07 19:13:03 UTC (rev 9673)
@@ -14,6 +14,8 @@
 Current Version (SVN trunk):
 ----------------------------
 
+- Fix compilation warnings around use of strcasestr (#3257)
+
 - Made %substitution% strings case insensitive (#3250)
 
 - Added support to get the extent of a raster layer that use a tileindex (#3252)

Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2010-01-06 19:46:48 UTC (rev 9672)
+++ trunk/mapserver/mapfile.c	2010-01-07 19:13:03 UTC (rev 9673)
@@ -27,6 +27,7 @@
  * DEALINGS IN THE SOFTWARE.
  ****************************************************************************/
 
+#define _GNU_SOURCE
 
 #include <stdarg.h>
 #include <assert.h>



More information about the mapserver-commits mailing list