From: Magnus Jacobsson Date: Sat, 1 Jan 2022 15:44:04 +0000 (+0100) Subject: cdt: use GVDLL instead of _WIN32 to control storage-class attributes in cdt.h X-Git-Tag: 3.0.0~92^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=656f82d7b926cb6aa415a95aa217a25b54f70947;p=graphviz cdt: use GVDLL instead of _WIN32 to control storage-class attributes in cdt.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cdt/cdt.h b/lib/cdt/cdt.h index 034919bcd..13e583714 100644 --- a/lib/cdt/cdt.h +++ b/lib/cdt/cdt.h @@ -14,7 +14,7 @@ extern "C" { #include /* size_t */ #include -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_CDT #define CDT_API __declspec(dllexport) #else