From 47a7707df131e1b42c64da9a9e85e0421faa49a4 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 27 Apr 2020 16:32:29 -0700 Subject: [PATCH] Math.hxx: fix wrong macro name _GLIBCXX_USE_C99_MATH_TR1 is the correct one. _GLIBCXX_USE_C99_MATH is always defined. --- src/util/Math.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Math.hxx b/src/util/Math.hxx index ad5cffd82..28f50c6cc 100644 --- a/src/util/Math.hxx +++ b/src/util/Math.hxx @@ -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 using boost::math::lround; #else