Skip to content

Commit

Permalink
VSILFILE missing in GDAL < 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Aug 7, 2012
1 parent 5f6d0f2 commit e860db7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/providers/wcs/qgswcsprovider.h
Expand Up @@ -338,7 +338,11 @@ class QgsWcsProvider : public QgsRasterDataProvider, QgsGdalProviderBase
/** Name of memory file for cached data */
QString mCachedMemFilename;

#if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM >= 1800
VSILFILE * mCachedMemFile;
#else
FILE * mCachedMemFile;
#endif

/** Pointer to cached GDAL dataset */
GDALDatasetH mCachedGdalDataset;
Expand Down

0 comments on commit e860db7

Please sign in to comment.