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:
Rosen Penev 2020-04-27 16:32:29 -07:00 committed by Max Kellermann
parent 6fdae1139f
commit 47a7707df1
1 changed files with 1 additions and 1 deletions

View File

@ -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