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 @@
#include "ReplayGainGlobal.hxx"
#include "ReplayGainConfig.hxx"
#include "config/Data.hxx"
#include "util/Math.hxx"
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <stdexcept>
......
......@@ -19,7 +19,8 @@
#include "ReplayGainInfo.hxx"
#include "ReplayGainConfig.hxx"
#include "util/Math.hxx"
#include <cmath>
float
ReplayGainTuple::CalculateScale(const ReplayGainConfig &config) const noexcept
......
......@@ -31,15 +31,12 @@
#define MATH_HXX
#ifdef __UCLIBC__
#include <boost/math/special_functions/pow.hpp>
#include <boost/math/special_functions/round.hpp>
using boost::math::iround;
using boost::math::pow;
using boost::math::lround;
#define lrint iround
#else
#include <cmath>
using std::pow;
using std::lrint;
using std::lround;
#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