Skip to content

Commit e860db7

Browse files
committed
VSILFILE missing in GDAL < 1.8
1 parent 5f6d0f2 commit e860db7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/providers/wcs/qgswcsprovider.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,11 @@ class QgsWcsProvider : public QgsRasterDataProvider, QgsGdalProviderBase
338338
/** Name of memory file for cached data */
339339
QString mCachedMemFilename;
340340

341+
#if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM >= 1800
341342
VSILFILE * mCachedMemFile;
343+
#else
344+
FILE * mCachedMemFile;
345+
#endif
342346

343347
/** Pointer to cached GDAL dataset */
344348
GDALDatasetH mCachedGdalDataset;

0 commit comments

Comments
 (0)