From 6999f4efd078b1e9005f8791dc9dd5222fafaa95 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 2 Jan 2022 19:21:54 +0100 Subject: [PATCH] plugin/dot_layout: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_dot_layout.c Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- plugin/dot_layout/gvplugin_dot_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/dot_layout/gvplugin_dot_layout.c b/plugin/dot_layout/gvplugin_dot_layout.c index fda227c82..168e8e399 100644 --- a/plugin/dot_layout/gvplugin_dot_layout.c +++ b/plugin/dot_layout/gvplugin_dot_layout.c @@ -18,7 +18,7 @@ static gvplugin_api_t apis[] = { }; -#ifdef _WIN32 +#ifdef GVDLL #define GVPLUGIN_DOT_LAYOUT_API __declspec(dllexport) #else #define GVPLUGIN_DOT_LAYOUT_API -- 2.40.0