From: <su...@us...> - 2012-09-12 12:47:32
|
Revision: 4466 http://tora.svn.sourceforge.net/tora/?rev=4466&view=rev Author: subik Date: 2012-09-12 12:47:25 +0000 (Wed, 12 Sep 2012) Log Message: ----------- fi for newer bosst::spirit when there are no legacy includes (I hope it will work...) Modified Paths: -------------- branches/tora3/extlibs/libermodel/DotGraphParsingHelper.cpp Modified: branches/tora3/extlibs/libermodel/DotGraphParsingHelper.cpp =================================================================== --- branches/tora3/extlibs/libermodel/DotGraphParsingHelper.cpp 2012-09-12 09:56:38 UTC (rev 4465) +++ branches/tora3/extlibs/libermodel/DotGraphParsingHelper.cpp 2012-09-12 12:47:25 UTC (rev 4466) @@ -25,13 +25,21 @@ #include "graphnode.h" #include "graphedge.h" +#include <boost/version.hpp> #include <boost/throw_exception.hpp> + +#if BOOST_VERSION > 103800 +#include <boost/spirit/home/classic/core.hpp> +#include <boost/spirit/home/classic/utility/distinct.hpp> +#include <boost/spirit/home/classic/utility/loops.hpp> +#include <boost/spirit/home/classic/utility/confix.hpp> +#else #include <boost/spirit/core.hpp> #include <boost/spirit/utility/distinct.hpp> #include <boost/spirit/utility/loops.hpp> #include <boost/spirit/utility/confix.hpp> +#endif - #include <iostream> ///#include <kdebug.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |