Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63424 - trunk/boost
From: john_at_[hidden]
Date: 2010-06-29 04:24:31


Author: johnmaddock
Date: 2010-06-29 04:24:29 EDT (Tue, 29 Jun 2010)
New Revision: 63424
URL: http://svn.boost.org/trac/boost/changeset/63424

Log:
Oops missed this file in last commit.
Text files modified:
   trunk/boost/math_fwd.hpp | 11 +++++++++--
   1 files changed, 9 insertions(+), 2 deletions(-)

Modified: trunk/boost/math_fwd.hpp
==============================================================================
--- trunk/boost/math_fwd.hpp (original)
+++ trunk/boost/math_fwd.hpp 2010-06-29 04:24:29 EDT (Tue, 29 Jun 2010)
@@ -9,6 +9,7 @@
 #ifndef BOOST_MATH_FWD_HPP
 #define BOOST_MATH_FWD_HPP
 
+#include <boost/cstdint.hpp>
 
 namespace boost
 {
@@ -78,9 +79,15 @@
 
 // From <boost/math/common_factor_ct.hpp> ----------------------------------//
 
-template < unsigned long Value1, unsigned long Value2 >
+#ifdef BOOST_NO_INTEGRAL_INT64_T
+ typedef unsigned long static_gcd_type;
+#else
+ typedef boost::uintmax_t static_gcd_type;
+#endif
+
+template < static_gcd_type Value1, static_gcd_type Value2 >
     struct static_gcd;
-template < unsigned long Value1, unsigned long Value2 >
+template < static_gcd_type Value1, static_gcd_type Value2 >
     struct static_lcm;
 
 


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