[mapserver-commits] r10602 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Oct 13 18:09:24 EDT 2010
Author: warmerdam
Date: 2010-10-13 15:09:24 -0700 (Wed, 13 Oct 2010)
New Revision: 10602
Modified:
trunk/mapserver/mapdebug.c
trunk/mapserver/mapserver.h
Log:
make vs2003 vsnprintf hack centrally located
Modified: trunk/mapserver/mapdebug.c
===================================================================
--- trunk/mapserver/mapdebug.c 2010-10-13 22:08:47 UTC (rev 10601)
+++ trunk/mapserver/mapdebug.c 2010-10-13 22:09:24 UTC (rev 10602)
@@ -48,11 +48,6 @@
#include <windows.h> /* OutputDebugStringA() */
#endif
-#if defined(_WIN32) && !defined(__CYGWIN__)
-/* Need to use _vsnprintf() with VS2003 */
-#define vsnprintf _vsnprintf
-#endif
-
MS_CVSID("$Id$")
Modified: trunk/mapserver/mapserver.h
===================================================================
--- trunk/mapserver/mapserver.h 2010-10-13 22:08:47 UTC (rev 10601)
+++ trunk/mapserver/mapserver.h 2010-10-13 22:09:24 UTC (rev 10602)
@@ -105,6 +105,11 @@
typedef uint32_t ms_uint32;
#endif
+#if defined(_WIN32) && !defined(__CYGWIN__)
+/* Need to use _vsnprintf() with VS2003 */
+#define vsnprintf _vsnprintf
+#endif
+
/*forward declaration of rendering object*/
struct rendererVTable;
struct tilecache;
More information about the mapserver-commits
mailing list