From 04f4535461185d3db3d7350fb11e9c4bf901cc14 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 12 Dec 2023 15:54:58 -0800 Subject: [PATCH] ver --- ogr_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogr_fdw.c b/ogr_fdw.c index 233905f..14924a9 100644 --- a/ogr_fdw.c +++ b/ogr_fdw.c @@ -1974,7 +1974,7 @@ ogrFeatureToSlot(const OGRFeatureH feat, TupleTableSlot* slot, const OgrFdwExecS } else { -#if (GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(3,7,0)) +#if (GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3,7,0)) const char* tmp = OGR_F_GetFieldAsISO8601DateTime(feat, ogrfldnum, NULL); strncpy(cstr, tmp, 256); #else