summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 17:59:45 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 17:59:45 +0100
commit518ab232b6db2b277fd691b64849533f3a8230b3 (patch)
tree51c43dfb38b03151564407a448763bd42fe1c6ad
parent31685d283e9b811b61014f820c42807f4effa071 (diff)
downloadganv-518ab232b6db2b277fd691b64849533f3a8230b3.tar.gz
ganv-518ab232b6db2b277fd691b64849533f3a8230b3.tar.bz2
ganv-518ab232b6db2b277fd691b64849533f3a8230b3.zip
Work around broken Graphviz header warnings
-rw-r--r--src/Canvas.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 2fe67de..987eb6c 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -59,6 +59,11 @@
#include "./gettext.h"
#if defined(HAVE_AGRAPH_2_20) || defined(HAVE_AGRAPH_2_30)
+// Deal with graphviz API amateur hour...
+# define _DLL_BLD 0
+# define _dll_import 0
+# define _BLD_cdt 0
+# define _PACKAGE_ast 0
# include <gvc.h>
#endif
#ifdef GANV_FDGL