Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48884 - branches/release/boost/math/concepts
From: john_at_[hidden]
Date: 2008-09-19 05:12:45


Author: johnmaddock
Date: 2008-09-19 05:12:45 EDT (Fri, 19 Sep 2008)
New Revision: 48884
URL: http://svn.boost.org/trac/boost/changeset/48884

Log:
Fix missing #include.
Text files modified:
   branches/release/boost/math/concepts/real_concept.hpp | 10 +++++++---
   1 files changed, 7 insertions(+), 3 deletions(-)

Modified: branches/release/boost/math/concepts/real_concept.hpp
==============================================================================
--- branches/release/boost/math/concepts/real_concept.hpp (original)
+++ branches/release/boost/math/concepts/real_concept.hpp 2008-09-19 05:12:45 EDT (Fri, 19 Sep 2008)
@@ -20,6 +20,9 @@
 // but note minor additions are needed - see ntl.diff and documentation
 // "Using With NTL - a High-Precision Floating-Point Library".
 
+#ifndef BOOST_MATH_REAL_CONCEPT_HPP
+#define BOOST_MATH_REAL_CONCEPT_HPP
+
 #include <boost/config.hpp>
 #include <boost/limits.hpp>
 #include <boost/math/special_functions/round.hpp>
@@ -32,11 +35,12 @@
 #endif
 #include <ostream>
 #include <istream>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <math.h> // fmodl
 
-#ifndef BOOST_MATH_REAL_CONCEPT_HPP
-#define BOOST_MATH_REAL_CONCEPT_HPP
+#if defined(__SGI_STL_PORT) || defined(_RWSTD_VER) || defined(__LIBCOMO__)
+# include <cstdio>
+#endif
 
 namespace boost{ namespace math{
 


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