From: Magnus Jacobsson Date: Sun, 2 Jan 2022 15:22:28 +0000 (+0100) Subject: common: use only GVC_EXPORTS to control storage-class attributes in global.h X-Git-Tag: 3.0.0~84^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bdb67195162def3f5452e1e484647e86fca338f;p=graphviz common: use only GVC_EXPORTS to control storage-class attributes in global.h Anything that depends on storage-class attributes already define both GVC_EXPORTS and _BLD_gvc. --- diff --git a/lib/common/globals.h b/lib/common/globals.h index df0bd6ad7..d4ca68b28 100644 --- a/lib/common/globals.h +++ b/lib/common/globals.h @@ -15,7 +15,7 @@ extern "C" { #endif #ifdef GVDLL -#if defined(GVC_EXPORTS) || defined(_BLD_gvc) +#ifdef GVC_EXPORTS #define GLOBALS_API __declspec(dllexport) #else #define GLOBALS_API __declspec(dllimport)