From f664ee3baf3854db7b69a1151471cf78bc2e06da Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 7 Nov 2001 03:25:12 +0000 Subject: [PATCH] added #defines for GRAPHVIZ_GRAPH so user doesn't have to specify them at the command line [SVN r11621] --- src/graphviz_digraph_parser.cpp | 4 +--- src/graphviz_graph_parser.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/graphviz_digraph_parser.cpp b/src/graphviz_digraph_parser.cpp index 38c570e9..213ab1fe 100644 --- a/src/graphviz_digraph_parser.cpp +++ b/src/graphviz_digraph_parser.cpp @@ -62,9 +62,7 @@ #include #endif -#ifndef GRAPHVIZ_GRAPH -#error Need to define the GRAPHVIZ_GRAPH macro to either GraphvizGraph or GraphvizDigraph. -#endif +#define GRAPHVIZ_GRAPH boost::GraphvizDigraph #define YYPARSE_PARAM g diff --git a/src/graphviz_graph_parser.cpp b/src/graphviz_graph_parser.cpp index b448eff5..f47d7046 100644 --- a/src/graphviz_graph_parser.cpp +++ b/src/graphviz_graph_parser.cpp @@ -62,9 +62,7 @@ #include #endif -#ifndef GRAPHVIZ_GRAPH -#error Need to define the GRAPHVIZ_GRAPH macro to either GraphvizGraph or GraphvizDigraph. -#endif +#define GRAPHVIZ_GRAPH boost::GraphvizGraph #define YYPARSE_PARAM g