Math.hxx: fix wrong macro name
_GLIBCXX_USE_C99_MATH_TR1 is the correct one. _GLIBCXX_USE_C99_MATH is always defined.
This commit is contained in:
parent
6fdae1139f
commit
47a7707df1
|
@ -36,7 +36,7 @@
|
|||
* C99 math can be optionally omitted with gcc's libstdc++.
|
||||
* Use boost if unavailable.
|
||||
*/
|
||||
#if (defined(__GLIBCPP__) || defined(__GLIBCXX__)) && !defined(_GLIBCXX_USE_C99_MATH)
|
||||
#if (defined(__GLIBCPP__) || defined(__GLIBCXX__)) && !defined(_GLIBCXX_USE_C99_MATH_TR1)
|
||||
#include <boost/math/special_functions/round.hpp>
|
||||
using boost::math::lround;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue