]> granicus.if.org Git - graphviz/commitdiff
plugin/gd: use GVDLL instead of _WIN32 to control storage-class attributes in gvrende...
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 15:38:45 +0000 (16:38 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 18:33:11 +0000 (19:33 +0100)
plugin/gd/gvrender_gd.c

index 5f64acbc096c6fce3a2f079f2789206ad4e585ec..695245262fb12cc4a97c99d1a6ed2ea0e186be30 100644 (file)
@@ -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