From: Magnus Jacobsson Date: Sat, 1 Jan 2022 16:30:02 +0000 (+0100) Subject: cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in cgraph.h X-Git-Tag: 3.0.0~87^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d83fe5cb18560de1359097e9e814b9ce77aaccb;p=graphviz cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in cgraph.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cgraph/cgraph.h b/lib/cgraph/cgraph.h index 7de0cc137..87936f74a 100644 --- a/lib/cgraph/cgraph.h +++ b/lib/cgraph/cgraph.h @@ -17,7 +17,7 @@ extern "C" { #endif -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_CGRAPH #define CGRAPH_API __declspec(dllexport) #else