remove boost pow stuff for uClibc-ng
It's available there. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rosen Penev
					Rosen Penev