]> granicus.if.org Git - graphviz/commitdiff
lib/gvpr: [nfc] remove extra _WIN32 condition to apply storage-class attributes in...
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 17:05:36 +0000 (18:05 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 13:05:21 +0000 (14:05 +0100)
This is a non-functional change since this code is guarded with GVDLL
which is only ever defined when _WIN32 is defined.

lib/gvpr/gvpr.h

index e1e68b5900c4007e060cdcd21a80d676ee27414c..2e94a20364c2270c3f9f01d266dd22766fb12592 100644 (file)
@@ -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 */