Changeset 36464
- Timestamp:
- Mar 23, 2009, 8:03:32 PM (15 years ago)
- File:
-
- 1 edited
-
grass/trunk/lib/vector/Vlib/field.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/lib/vector/Vlib/field.c
r32585 r36464 30 30 #include <grass/Vect.h> 31 31 32 #ifdef HAVE_GDAL 32 33 #include <gdal_version.h> /* needed for FID detection */ 34 #endif /* HAVE_GDAL */ 33 35 34 36 /*! … … 445 447 if (Map->format == GV_FORMAT_OGR) { 446 448 449 #ifndef HAVE_GDAL 450 G_fatal_error(_("The support for OGR vector maps wasn't" 451 " compiled in.")); 452 #else 447 453 #if GDAL_VERSION_NUM > 1320 /* seems to be fixed after 1320 release */ 448 454 int layer, nLayers; … … 597 603 #endif /* GDAL_VERSION_NUM > 1320 */ 598 604 return (1); 605 #endif /* HAVE_GDAL */ 599 606 } 600 607 else if (Map->format != GV_FORMAT_NATIVE) {
Note:
See TracChangeset
for help on using the changeset viewer.
