From: Magnus Jacobsson Date: Sat, 1 Jan 2022 15:56:18 +0000 (+0100) Subject: cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in agxbuf.h X-Git-Tag: 3.0.0~87^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29432287fb68be2805fb00cb6b387783e894252d;p=graphviz cgraph: use GVDLL instead of _WIN32 to control storage-class attributes in agxbuf.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cgraph/agxbuf.h b/lib/cgraph/agxbuf.h index cd2dd4241..9e9d70800 100644 --- a/lib/cgraph/agxbuf.h +++ b/lib/cgraph/agxbuf.h @@ -18,7 +18,7 @@ extern "C" { #include "config.h" -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_AGXBUF #define AGXBUF_API __declspec(dllexport) #else