[mapserver-commits] r10569 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Oct 3 14:41:07 EDT 2010


Author: tamas
Date: 2010-10-03 18:41:07 +0000 (Sun, 03 Oct 2010)
New Revision: 10569

Modified:
   trunk/mapserver/mapogr.cpp
Log:
Suppress msOGRUpdateStyle if USE_OGR not defined.

Modified: trunk/mapserver/mapogr.cpp
===================================================================
--- trunk/mapserver/mapogr.cpp	2010-10-01 21:26:44 UTC (rev 10568)
+++ trunk/mapserver/mapogr.cpp	2010-10-03 18:41:07 UTC (rev 10569)
@@ -2752,6 +2752,7 @@
  * msOGRUpdateStyleFromString
  **********************************************************************/
 
+#ifdef USE_OGR
 #if GDAL_VERSION_NUM >= 1500 /* Use OGR Style C API */
 static int msOGRUpdateStyle(OGRStyleMgrH hStyleMgr, mapObj *map, layerObj *layer, classObj *c)
 #else
@@ -3433,6 +3434,7 @@
     }
     return MS_SUCCESS;
 }
+#endif /* USE_OGR */
 
 
 



More information about the mapserver-commits mailing list