From: Magnus Jacobsson Date: Sun, 2 Jan 2022 18:24:52 +0000 (+0100) Subject: plugin/gd: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute... X-Git-Tag: 3.0.0~77^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f741e66c75bccc42a6a1b09c1d6202b6b382ea1;p=graphviz plugin/gd: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_gd.c Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/plugin/gd/gvplugin_gd.c b/plugin/gd/gvplugin_gd.c index ca49dff75..63f5b60ca 100644 --- a/plugin/gd/gvplugin_gd.c +++ b/plugin/gd/gvplugin_gd.c @@ -29,7 +29,7 @@ static gvplugin_api_t apis[] = { {(api_t)0, 0}, }; -#ifdef _WIN32 +#ifdef GVDLL #define GVPLUGIN_GD_API __declspec(dllexport) #else #define GVPLUGIN_GD_API