From 719a1a2a11aa9ef5eb9ec3b351af901a487c63c9 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 16:52:13 +0100 Subject: [PATCH] cgraph++: use GVDLL instead of _WIN32 to control storage-class attributes in AGraph.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/cgraph++/AGraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cgraph++/AGraph.h b/lib/cgraph++/AGraph.h index fc779472e..16d77343a 100644 --- a/lib/cgraph++/AGraph.h +++ b/lib/cgraph++/AGraph.h @@ -5,7 +5,7 @@ #include -#ifdef _WIN32 +#ifdef GVDLL #if cgraph___EXPORTS // CMake's substitution of cgraph++_EXPORTS #define AGRAPH_API __declspec(dllexport) #else -- 2.40.0