From: Magnus Jacobsson Date: Mon, 10 Jan 2022 15:38:45 +0000 (+0100) Subject: plugin/gd: use GVDLL instead of _WIN32 to control storage-class attributes in gvrende... X-Git-Tag: 3.0.0~77^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5246d41837f8ac2d754242e60f33a09cb3b3dd58;p=graphviz plugin/gd: use GVDLL instead of _WIN32 to control storage-class attributes in gvrender_gd.c --- diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index 5f64acbc0..695245262 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -260,7 +260,7 @@ static void gdgen_missingfont(char *err, char *fontreq) /* fontsize at which text is rendered by a simple line */ #define FONTSIZE_TOO_SMALL 1.5 -#ifdef _WIN32 +#ifdef GVDLL #define GD_IMPORT __declspec(dllimport) extern #else #define GD_IMPORT extern