Commit 47a7707d authored by Rosen Penev's avatar Rosen Penev Committed by Max Kellermann

Math.hxx: fix wrong macro name

_GLIBCXX_USE_C99_MATH_TR1 is the correct one. _GLIBCXX_USE_C99_MATH is always defined.
parent 6fdae113
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment