]> granicus.if.org Git - graphviz/commitdiff
plugin/pango: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute...
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 15:41:11 +0000 (16:41 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 18:33:11 +0000 (19:33 +0100)
plugin/pango/gvplugin_pango.c

index d777faedfe841fe6b0db9fb2ea7dcb96d62176bc..b8bae8075b0325e3bcb44ebf482ec6bde1d7fd88 100644 (file)
@@ -23,7 +23,7 @@ static gvplugin_api_t apis[] = {
     {(api_t)0, 0},
 };
 
-#ifdef _WIN32
+#ifdef GVDLL
 #define GVPLUGIN_PANGO_API __declspec(dllexport)
 #else
 #define GVPLUGIN_PANGO_API