From af7cbe701aa08592d619c09078e54f8082dcabb6 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 1 Feb 2023 15:27:02 -0700 Subject: [PATCH] Change in support of https://github.com/Unidata/netcdf-c/issues/2599 --- libdispatch/dv2i.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdispatch/dv2i.c b/libdispatch/dv2i.c index 98b9a6cd69..49be33ece0 100644 --- a/libdispatch/dv2i.c +++ b/libdispatch/dv2i.c @@ -32,9 +32,9 @@ The V2 API is tested in test directory nctest. /** The subroutines in error.c emit no messages unless NC_VERBOSE bit * is on. They call exit() when NC_FATAL bit is on. */ -int ncopts = (NC_FATAL | NC_VERBOSE) ; +MSC_EXTRA int ncopts = (NC_FATAL | NC_VERBOSE) ; -int ncerr = NC_NOERR ; /**< V2 API error code. */ +MSC_EXTRA int ncerr = NC_NOERR ; /**< V2 API error code. */ #if SIZEOF_LONG == SIZEOF_SIZE_T /*