From d2c8f1a941ac1257166b7024156637b7542da49b Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 28 Dec 2022 16:32:01 +0000 Subject: [PATCH] Windows build: AppVeyor warnings --- src/grib_api_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_api_internal.h b/src/grib_api_internal.h index 5bd5fb053..20751f4f9 100644 --- a/src/grib_api_internal.h +++ b/src/grib_api_internal.h @@ -55,7 +55,7 @@ extern "C" { #endif #endif -#ifdef ECCODES_ON_WINDOWS +#if defined(_WIN32) && defined(_MSC_VER) #define _CRT_SECURE_NO_WARNINGS #define _CRT_NONSTDC_NO_DEPRECATE #endif