]> granicus.if.org Git - graphviz/commitdiff
xdot: [nfc] align storage-class declarations to Graphviz standard in xdot.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 18:05:22 +0000 (19:05 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 14:09:12 +0000 (15:09 +0100)
lib/xdot/xdot.h

index 280196f654aa77e3b1d5063d3d3602dc82763cf3..b150bfc32d993aed4d183a6c00925461b86efe2e 100644 (file)
@@ -22,7 +22,9 @@ extern "C" {
 #else
 #define XDOT_API __declspec(dllimport)
 #endif
-#else
+#endif
+
+#ifndef XDOT_API
 #define XDOT_API /* nothing */
 #endif