From 518ab232b6db2b277fd691b64849533f3a8230b3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 17:59:45 +0100 Subject: Work around broken Graphviz header warnings --- src/Canvas.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 #endif #ifdef GANV_FDGL -- cgit v1.2.1