From 3d83fe5cb18560de1359097e9e814b9ce77aaccb Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:30:02 +0100 Subject: [PATCH] cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in cgraph.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/cgraph/cgraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0