]> granicus.if.org Git - graphviz/commitdiff
cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in csprint.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 1 Jan 2022 16:30:02 +0000 (17:30 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 08:44:22 +0000 (09:44 +0100)
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.

lib/cgraph/sprint.h

index def468c4636bd49c9c8a530f4e7000a79630b6bf..584313d27441b5358d3ee8d6ea8dacdfd34a6e91 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-#ifdef _WIN32
+#ifdef GVDLL
 #ifdef EXPORT_CGRAPH
 #define DECLSPEC __declspec(dllexport)
 #else