Skip to content

Commit

Permalink
fix ogr-fgd non iconv/expat build. (OSGeo#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
geosanak committed Nov 4, 2012
1 parent 45082b2 commit ebf5269
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gdal/ogr/ogrsf_frmts/fgd/ogrfgdlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ OGRFeature* OGRFGDLayer::GetNextFeature()

OGRSpatialReference* OGRFGDLayer::GetSpatialRef()
{
#if defined(HAVE_EXPAT) && defined(HAVE_ICONV)
return m_pReader->GetSpatialRef();
#else
return NULL;
#endif
}


Expand Down

0 comments on commit ebf5269

Please sign in to comment.