From: Magnus Jacobsson Date: Mon, 10 Jan 2022 15:35:57 +0000 (+0100) Subject: gvc++: use GVDLL instead of _WIN32 to control storage-class attributes in GVRenderData.h X-Git-Tag: 3.0.0~75^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faf460df99f17bd88eaac057e8110b8af57fbe8c;p=graphviz gvc++: use GVDLL instead of _WIN32 to control storage-class attributes in GVRenderData.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/gvc++/GVRenderData.h b/lib/gvc++/GVRenderData.h index 94cdd4d9d..8ea7312a0 100644 --- a/lib/gvc++/GVRenderData.h +++ b/lib/gvc++/GVRenderData.h @@ -3,7 +3,7 @@ #include #include -#ifdef _WIN32 +#ifdef GVDLL #if gvc___EXPORTS // CMake's substitution of gvc++_EXPORTS #define GVRENDER_API __declspec(dllexport) #else