From 575f3863d3b7a736a12950e0c721fb1d10dcd91d Mon Sep 17 00:00:00 2001 From: Thomas Bonfort Date: Thu, 12 Sep 2024 15:55:08 +0200 Subject: [PATCH] wtf --- godal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/godal.cpp b/godal.cpp index 90eb4c6..7c1c9f0 100644 --- a/godal.cpp +++ b/godal.cpp @@ -1819,6 +1819,7 @@ void godalGridCreate(cctx *ctx, char *pszAlgorithm, GDALGridAlgorithm eAlgorithm #if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 7, 0) ret = GDALGridParseAlgorithmAndOptions(pszAlgorithm, &eAlgorithm, &ppOptions); #else + #error "gdal version" GDAL_VERSION_NUM ret = ParseAlgorithmAndOptions(pszAlgorithm, &eAlgorithm, &ppOptions); #endif if(ret!=0) {