From: Magnus Jacobsson Date: Sun, 2 Jan 2022 18:01:59 +0000 (+0100) Subject: xdot: use GVDLL instead of _WIN32 to control storage-class attributes in xdot.h X-Git-Tag: 3.0.0~80^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbc81d9c803feeabe4e0cc479d07245275b5e7e9;p=graphviz xdot: use GVDLL instead of _WIN32 to control storage-class attributes in xdot.h Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/xdot/xdot.h b/lib/xdot/xdot.h index e66adf97a..cc67f9a22 100644 --- a/lib/xdot/xdot.h +++ b/lib/xdot/xdot.h @@ -16,7 +16,7 @@ extern "C" { #endif -#ifdef _WIN32 +#ifdef GVDLL #ifdef EXPORT_XDOT #define XDOT_API __declspec(dllexport) #else