Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49347 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2008-10-15 15:03:37


Author: ramey
Date: 2008-10-15 15:03:37 EDT (Wed, 15 Oct 2008)
New Revision: 49347
URL: http://svn.boost.org/trac/boost/changeset/49347

Log:
updated spirit headers to use "classic"
Text files modified:
   trunk/libs/serialization/src/basic_xml_grammar.ipp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: trunk/libs/serialization/src/basic_xml_grammar.ipp
==============================================================================
--- trunk/libs/serialization/src/basic_xml_grammar.ipp (original)
+++ trunk/libs/serialization/src/basic_xml_grammar.ipp 2008-10-15 15:03:37 EDT (Wed, 15 Oct 2008)
@@ -17,9 +17,16 @@
 #include <boost/config.hpp> // BOOST_DEDUCED_TYPENAME
 
 // spirit stuff
+#if (defined __BORLANDC__) && (__BORLANDC__ < 0x593) \
+|| (defined _MSC_VER) && #if (_MSC_VER <= 1300)
 #include <boost/spirit/core/composite/operators.hpp>
 #include <boost/spirit/core/composite/actions.hpp>
 #include <boost/spirit/core/primitives/numerics.hpp>
+#else
+#include <boost/spirit/classic_operators.hpp>
+#include <boost/spirit/classic_actions.hpp>
+#include <boost/spirit/classic_numerics.hpp>
+#endif
 
 // for head_iterator test
 //#include <boost/bind.hpp>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk