From: Magnus Jacobsson Date: Sun, 2 Jan 2022 11:47:45 +0000 (+0100) Subject: common: use only the GVDLL symbol enable storage-class attributes in global.h X-Git-Tag: 3.0.0~84^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae3aa2e2f9e6647a5e4ee460e3e495f23408bea6;p=graphviz common: use only the GVDLL symbol enable storage-class attributes in global.h Anything that depends on storage-class attributes already define both GVC_EXPORTS and WIN32_DLL. --- diff --git a/lib/common/globals.h b/lib/common/globals.h index e52e77634..df0bd6ad7 100644 --- a/lib/common/globals.h +++ b/lib/common/globals.h @@ -14,7 +14,7 @@ extern "C" { #endif -#if defined(GVDLL) || defined(WIN32_DLL) +#ifdef GVDLL #if defined(GVC_EXPORTS) || defined(_BLD_gvc) #define GLOBALS_API __declspec(dllexport) #else