]> granicus.if.org Git - graphviz/commitdiff
common: use only GVC_EXPORTS to control storage-class attributes in global.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 15:22:28 +0000 (16:22 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 19:24:28 +0000 (20:24 +0100)
Anything that depends on storage-class attributes already define both
GVC_EXPORTS and _BLD_gvc.

lib/common/globals.h

index df0bd6ad7c093575d31dc0cff2cc53cf962eee31..d4ca68b289c52f935acb3529ef456042f3098e2b 100644 (file)
@@ -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)