Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77461 - trunk/boost/ratio
From: vicente.botet_at_[hidden]
Date: 2012-03-21 17:17:28


Author: viboes
Date: 2012-03-21 17:17:27 EDT (Wed, 21 Mar 2012)
New Revision: 77461
URL: http://svn.boost.org/trac/boost/changeset/77461

Log:
Ratio: Protect including files that are extension with BOOST_RATIO_EXTENSIONS
Text files modified:
   trunk/boost/ratio/include.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/ratio/include.hpp
==============================================================================
--- trunk/boost/ratio/include.hpp (original)
+++ trunk/boost/ratio/include.hpp 2012-03-21 17:17:27 EDT (Wed, 21 Mar 2012)
@@ -10,6 +10,7 @@
 
 #include <boost/ratio/ratio.hpp>
 #include <boost/ratio/ratio_io.hpp>
+#ifdef BOOST_RATIO_EXTENSIONS
 #include <boost/ratio/mpl/rational_constant.hpp>
-
+#endif
 #endif // BOOST_RATIO_INCLUDE_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