From: Magnus Jacobsson Date: Sat, 1 Jan 2022 16:23:53 +0000 (+0100) Subject: cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in cghdr.h X-Git-Tag: 3.0.0~87^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3573328a6054901f5d5697af7ff28a1881f933aa;p=graphviz cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in cghdr.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cgraph/cghdr.h b/lib/cgraph/cghdr.h index d6005612b..b2c3cd0ba 100644 --- a/lib/cgraph/cghdr.h +++ b/lib/cgraph/cghdr.h @@ -12,7 +12,7 @@ #include "config.h" -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_CGHDR #define CGHDR_API __declspec(dllexport) #else