From: Magnus Jacobsson Date: Sat, 1 Jan 2022 15:52:13 +0000 (+0100) Subject: cgraph++: use GVDLL instead of _WIN32 to control storage-class attributes in AGraph.h X-Git-Tag: 3.0.0~87^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=719a1a2a11aa9ef5eb9ec3b351af901a487c63c9;p=graphviz cgraph++: use GVDLL instead of _WIN32 to control storage-class attributes in AGraph.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- 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