Permalink
Browse files

Fix syntax error

Missing || causes build failure when not using GDAL or OGR
  • Loading branch information...
pagameba committed Jun 8, 2014
1 parent 5beb10e commit 4f6eb6c48f58a5a4c9a9864b80622a730ed1a8e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapshape.c
View
@@ -2632,7 +2632,7 @@ int msSHPLayerOpen(layerObj *layer)
}
}
#else /* !(defined(USE_GDAL) || defined(USE_OGR)) */
if( layer->debug layer->map->debug ) {
if( layer->debug || layer->map->debug ) {
msDebug( "Unable to get SRS from shapefile '%s' for layer '%s'. GDAL or OGR support needed\n", szPath, layer->name );
}
#endif /* defined(USE_GDAL) || defined(USE_OGR) */

0 comments on commit 4f6eb6c

Please sign in to comment.