From: Magnus Jacobsson Date: Sun, 2 Jan 2022 17:05:36 +0000 (+0100) Subject: lib/gvpr: [nfc] remove extra _WIN32 condition to apply storage-class attributes in... X-Git-Tag: 3.0.0~81^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=947922393ab54ad4cf2f833f2bbbde005d643e33;p=graphviz lib/gvpr: [nfc] remove extra _WIN32 condition to apply storage-class attributes in gvpr.h This is a non-functional change since this code is guarded with GVDLL which is only ever defined when _WIN32 is defined. --- diff --git a/lib/gvpr/gvpr.h b/lib/gvpr/gvpr.h index e1e68b590..2e94a2036 100644 --- a/lib/gvpr/gvpr.h +++ b/lib/gvpr/gvpr.h @@ -14,7 +14,6 @@ extern "C" { #endif -#ifdef _WIN32 #ifdef GVDLL #ifdef EXPORT_GVPR #define GVPR_API __declspec(dllexport) @@ -22,7 +21,6 @@ extern "C" { #define GVPR_API __declspec(dllimport) #endif #endif -#endif #ifndef GVPR_API #define GVPR_API /* nothing */