From: <mor...@us...> - 2011-01-09 03:51:42
|
Revision: 3888 http://ecell.svn.sourceforge.net/ecell/?rev=3888&view=rev Author: moriyoshi Date: 2011-01-09 03:51:36 +0000 (Sun, 09 Jan 2011) Log Message: ----------- * Compatibility stuff. Modified Paths: -------------- ecell3/trunk/ecell/pyecell/ecell/_ecs.cpp Modified: ecell3/trunk/ecell/pyecell/ecell/_ecs.cpp =================================================================== --- ecell3/trunk/ecell/pyecell/ecell/_ecs.cpp 2011-01-09 03:50:34 UTC (rev 3887) +++ ecell3/trunk/ecell/pyecell/ecell/_ecs.cpp 2011-01-09 03:51:36 UTC (rev 3888) @@ -40,7 +40,11 @@ #include <boost/range/size.hpp> #include <boost/range/size_type.hpp> #include <boost/range/const_iterator.hpp> -#include <boost/cast.hpp> +#if BOOST_VERSION >= 103200 // for boost-1.32.0 or later. +# include <boost/numeric/conversion/cast.hpp> +#else // use this instead for boost-1.31 or earlier. +# include <boost/cast.hpp> +#endif #include <boost/format.hpp> #include <boost/format/group.hpp> #include <boost/python.hpp> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |