Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
Missing || causes build failure when not using GDAL or OGR
  • Loading branch information
pagameba committed Jun 8, 2014
1 parent 5beb10e commit 4f6eb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapshape.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit 4f6eb6c

Please sign in to comment.