From 04ccf1fe3e0f9d424145803b8c202fa959273345 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Mon, 10 Jan 2022 16:33:35 +0100 Subject: [PATCH] gvc++: use GVDLL instead of _WIN32 to control storage-class attributes in GVContext.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/gvc++/GVContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc++/GVContext.h b/lib/gvc++/GVContext.h index 4b9607459..62d10edb5 100644 --- a/lib/gvc++/GVContext.h +++ b/lib/gvc++/GVContext.h @@ -4,7 +4,7 @@ #include -#ifdef _WIN32 +#ifdef GVDLL #if gvc___EXPORTS // CMake's substitution of gvc++_EXPORTS #define GVCONTEXT_API __declspec(dllexport) #else -- 2.40.0