Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 12, 2024
1 parent 23a858e commit a66a9b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions godal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,10 +1816,10 @@ void godalGridCreate(cctx *ctx, char *pszAlgorithm, GDALGridAlgorithm eAlgorithm
}

void *ppOptions;
#define __STRINGIFY(TEXT) #TEXT
#define __WARNING(TEXT) __STRINGIFY(GCC warning TEXT)
#define WARNING(VALUE) __WARNING(__STRINGIFY(N = VALUE))
_Pragma (WARNING(GDAL_VERSION_NUM))
//#define __STRINGIFY(TEXT) #TEXT
//#define __WARNING(TEXT) __STRINGIFY(GCC warning TEXT)
//#define WARNING(VALUE) __WARNING(__STRINGIFY(N = VALUE))
//_Pragma (WARNING(GDAL_VERSION_NUM))
#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 7, 0)
ret = GDALGridParseAlgorithmAndOptions(pszAlgorithm, &eAlgorithm, &ppOptions);
#else
Expand Down

0 comments on commit a66a9b0

Please sign in to comment.