Merge branch 'lkj' of git://github.com/neheb/MPD into v0.21.x
This commit is contained in:
commit
8d2079482f
@ -30,11 +30,16 @@
|
||||
#ifndef MATH_HXX
|
||||
#define MATH_HXX
|
||||
|
||||
#include <cmath>
|
||||
|
||||
/*
|
||||
* C99 math can be optionally omitted with gcc's libstdc++.
|
||||
* Use boost if unavailable.
|
||||
*/
|
||||
#if (defined(__GLIBCPP__) || defined(__GLIBCXX__)) && !defined(_GLIBCXX_USE_C99_MATH)
|
||||
#include <boost/math/special_functions/round.hpp>
|
||||
using boost::math::lround;
|
||||
#else
|
||||
#include <cmath>
|
||||
using std::lround;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user