remove boost pow stuff for uClibc-ng

It's available there. Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent e87454ae
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include "ReplayGainGlobal.hxx" #include "ReplayGainGlobal.hxx"
#include "ReplayGainConfig.hxx" #include "ReplayGainConfig.hxx"
#include "config/Data.hxx" #include "config/Data.hxx"
#include "util/Math.hxx"
#include <cassert> #include <cassert>
#include <cmath>
#include <cstdlib> #include <cstdlib>
#include <stdexcept> #include <stdexcept>
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
#include "ReplayGainInfo.hxx" #include "ReplayGainInfo.hxx"
#include "ReplayGainConfig.hxx" #include "ReplayGainConfig.hxx"
#include "util/Math.hxx"
#include <cmath>
float float
ReplayGainTuple::CalculateScale(const ReplayGainConfig &config) const noexcept ReplayGainTuple::CalculateScale(const ReplayGainConfig &config) const noexcept
......
...@@ -31,15 +31,12 @@ ...@@ -31,15 +31,12 @@
#define MATH_HXX #define MATH_HXX
#ifdef __UCLIBC__ #ifdef __UCLIBC__
#include <boost/math/special_functions/pow.hpp>
#include <boost/math/special_functions/round.hpp> #include <boost/math/special_functions/round.hpp>
using boost::math::iround; using boost::math::iround;
using boost::math::pow;
using boost::math::lround; using boost::math::lround;
#define lrint iround #define lrint iround
#else #else
#include <cmath> #include <cmath>
using std::pow;
using std::lrint; using std::lrint;
using std::lround; using std::lround;
#endif #endif
......
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