From 50f495cdcf6a090f73bb96b5a05eb8fe96df6d20 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 2 Jan 2022 19:29:21 +0100 Subject: [PATCH] plugin/gdiplus: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_gdiplus.c Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- plugin/gdiplus/gvplugin_gdiplus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gdiplus/gvplugin_gdiplus.cpp b/plugin/gdiplus/gvplugin_gdiplus.cpp index 519dc0fd4..57860e3d8 100644 --- a/plugin/gdiplus/gvplugin_gdiplus.cpp +++ b/plugin/gdiplus/gvplugin_gdiplus.cpp @@ -90,7 +90,7 @@ static gvplugin_api_t apis[] = { extern "C" { #endif -#ifdef _WIN32 +#ifdef GVDLL #define GVPLUGIN_GDIPLUS_API __declspec(dllexport) #else #define GVPLUGIN_GDIPLUS_API -- 2.40.0