[mapserver-commits] r13246 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Mar 14 07:16:39 EDT 2012
Author: tbonfort
Date: 2012-03-14 04:16:38 -0700 (Wed, 14 Mar 2012)
New Revision: 13246
Modified:
trunk/mapserver/mapuvraster.c
Log:
allow compilation without gdal
Modified: trunk/mapserver/mapuvraster.c
===================================================================
--- trunk/mapserver/mapuvraster.c 2012-03-14 10:55:57 UTC (rev 13245)
+++ trunk/mapserver/mapuvraster.c 2012-03-14 11:16:38 UTC (rev 13246)
@@ -323,6 +323,9 @@
char tmp[100];
float size_scale;
int *itemindexes = (int*)layer->iteminfo;
+#ifndef USE_GDAL
+ return NULL;
+#else
if(layer->numitems == 0)
return(NULL);
@@ -388,6 +391,7 @@
}
return values;
+#endif
}
int msUVRASTERLayerWhichShapes(layerObj *layer, rectObj rect, int isQuery)
More information about the mapserver-commits
mailing list