[mapserver-commits] r7173 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Dec 14 13:39:18 EST 2007


Author: warmerdam
Date: 2007-12-14 13:39:18 -0500 (Fri, 14 Dec 2007)
New Revision: 7173

Modified:
   trunk/mapserver/mapserver.h
Log:
define CPL_SUPRESS_CPLUSPLUS to avoid unnecessary GDAL/OGR C++ dependencies (#565)

Modified: trunk/mapserver/mapserver.h
===================================================================
--- trunk/mapserver/mapserver.h	2007-12-14 17:52:35 UTC (rev 7172)
+++ trunk/mapserver/mapserver.h	2007-12-14 18:39:18 UTC (rev 7173)
@@ -104,6 +104,7 @@
 
 
 #ifdef USE_OGR
+#define CPL_SUPRESS_CPLUSPLUS
 #include "ogr_api.h"
 #endif
 



More information about the mapserver-commits mailing list