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

lib/cgraph/agxbuf.h

index cd2dd424144fbb44a75e42ee15505590d32ad72a..9e9d70800c785862eedc85d498376ce901f214e3 100644 (file)
@@ -18,7 +18,7 @@ extern "C" {
 
 #include "config.h"
 
-#ifdef _WIN32
+#ifdef GVDLL
 #ifdef EXPORT_AGXBUF
 #define AGXBUF_API __declspec(dllexport)
 #else