]> granicus.if.org Git - graphviz/commitdiff
cgraph: [nfc] align storage-class declarations to Graphviz standard in sprint.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 09:54:59 +0000 (10:54 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 08:44:22 +0000 (09:44 +0100)
lib/cgraph/sprint.h

index 30cf1f1e27720a75f370391d3d343ca1f283a99e..2584defa10fc2f14cc88845e53b3cf9ca0f4e3fb 100644 (file)
@@ -6,7 +6,9 @@
 #else
 #define SPRINT_API __declspec(dllimport)
 #endif
-#else
+#endif
+
+#ifndef SPRINT_API
 #define SPRINT_API /* nothing */
 #endif