[mapserver-commits] r9098 - sandbox/davidK

svn at osgeo.org svn at osgeo.org
Mon Jun 8 00:37:20 EDT 2009


Author: assefa
Date: 2009-06-08 00:37:20 -0400 (Mon, 08 Jun 2009)
New Revision: 9098

Modified:
   sandbox/davidK/maperror.c
Log:
advertize kml output

Modified: sandbox/davidK/maperror.c
===================================================================
--- sandbox/davidK/maperror.c	2009-06-08 04:36:37 UTC (rev 9097)
+++ sandbox/davidK/maperror.c	2009-06-08 04:37:20 UTC (rev 9098)
@@ -43,6 +43,11 @@
 
 MS_CVSID("$Id$")
 
+#if defined(_WIN32) && !defined(__CYGWIN__)
+/* Need to use _vsnprintf() with VS2003 */
+#define vsnprintf _vsnprintf
+#endif 
+
 static char *ms_errorCodes[MS_NUMERRORCODES] = {"",
 						"Unable to access file.",
 						"Memory allocation error.",
@@ -511,6 +516,9 @@
   strcat(version, " OUTPUT=SWF");
 #endif
   strcat(version, " OUTPUT=SVG");
+#ifdef USE_KML
+  strcat(version, " OUTPUT=KML");
+#endif
 #ifdef USE_PROJ
   strcat(version, " SUPPORTS=PROJ");
 #endif



More information about the mapserver-commits mailing list