From: Magnus Jacobsson Date: Sun, 2 Jan 2022 18:13:30 +0000 (+0100) Subject: plugin/core: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute... X-Git-Tag: 3.0.0~77^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1357678d2399507cbe3eaaa5c83c81650ea31842;p=graphviz plugin/core: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_core.c Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/plugin/core/gvplugin_core.c b/plugin/core/gvplugin_core.c index d79c48979..33f53f083 100644 --- a/plugin/core/gvplugin_core.c +++ b/plugin/core/gvplugin_core.c @@ -69,7 +69,7 @@ static gvplugin_api_t apis[] = { {(api_t)0, 0}, }; -#ifdef _WIN32 +#ifdef GVDLL #define GVPLUGIN_CORE_API __declspec(dllexport) #else #define GVPLUGIN_CORE_API