Update of /cvsroot/boost-sandbox/boost-sandbox/boost/math/special_functions
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29426/boost/math/special_functions
Modified Files:
Tag: math_toolkit
log1p.hpp
Log Message:
Fix for VC7.1
Index: log1p.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/math/special_functions/Attic/log1p.hpp,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -d -r1.1.2.11 -r1.1.2.12
--- log1p.hpp 6 Feb 2007 13:32:59 -0000 1.1.2.11
+++ log1p.hpp 3 May 2007 11:12:03 -0000 1.1.2.12
@@ -172,7 +172,7 @@
BOOST_CURRENT_FUNCTION);
return ::log1p(x);
}
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER) && (BOOST_MSVC >= 1400)
//
// You should only enable this branch if you are absolutely sure
// that your compilers optimizer won't mess this code up!!
|