]> granicus.if.org Git - graphviz/commitdiff
cgraph: [nfc] align storage-class declarations to Graphviz standard in cgraph.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 1 Jan 2022 16:30:38 +0000 (17:30 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 08:44:21 +0000 (09:44 +0100)
lib/cgraph/cgraph.h

index 87936f74a36d495091176856356d78d1f39f1d35..208037b5b6859c393b40602c05270f384260cd85 100644 (file)
@@ -23,7 +23,9 @@ extern "C" {
 #else
 #define CGRAPH_API __declspec(dllimport)
 #endif
-#else
+#endif
+
+#ifndef CGRAPH_API
 #define CGRAPH_API /* nothing */
 #endif