From 8f741e66c75bccc42a6a1b09c1d6202b6b382ea1 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 2 Jan 2022 19:24:52 +0100 Subject: [PATCH] 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. --- plugin/gd/gvplugin_gd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1