From 610d41a9d8619d4d4334d4d037bde9fcb56f91a5 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 2 Jan 2022 19:05:22 +0100 Subject: [PATCH] xdot: [nfc] align storage-class declarations to Graphviz standard in xdot.h --- lib/xdot/xdot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/xdot/xdot.h b/lib/xdot/xdot.h index 280196f65..b150bfc32 100644 --- a/lib/xdot/xdot.h +++ b/lib/xdot/xdot.h @@ -22,7 +22,9 @@ extern "C" { #else #define XDOT_API __declspec(dllimport) #endif -#else +#endif + +#ifndef XDOT_API #define XDOT_API /* nothing */ #endif -- 2.40.0