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 csprint.h X-Git-Tag: 3.0.0~87^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a83d8400064c68ac7805d7ae1265e03ffff5fe74;p=graphviz cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in csprint.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cgraph/sprint.h b/lib/cgraph/sprint.h index def468c46..584313d27 100644 --- a/lib/cgraph/sprint.h +++ b/lib/cgraph/sprint.h @@ -1,6 +1,6 @@ #pragma once -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_CGRAPH #define DECLSPEC __declspec(dllexport) #else