diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-02-02 21:21:57 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-03-15 20:17:31 -0700 |
commit | 3ec9fcfc443a68c9f57e0314c47e70ca02a32530 (patch) | |
tree | e92291e958bc2368eb7c7a43dee8ceeae7efea6a /src/mixer | |
parent | b5d1a0901022d4711973740edadd87ce5913ac68 (diff) |
treewide: use boost::lround when std::round is unavailable
This is the case with uClibc-ng currently.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/plugins/WinmmMixerPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/plugins/WinmmMixerPlugin.cxx b/src/mixer/plugins/WinmmMixerPlugin.cxx index 0bf60f58b..c3ce5827a 100644 --- a/src/mixer/plugins/WinmmMixerPlugin.cxx +++ b/src/mixer/plugins/WinmmMixerPlugin.cxx @@ -20,13 +20,13 @@ #include "mixer/MixerInternal.hxx" #include "output/OutputAPI.hxx" #include "output/plugins/WinmmOutputPlugin.hxx" +#include "util/Math.hxx" #include <mmsystem.h> #include <cassert> #include <stdexcept> -#include <math.h> #include <windows.h> class WinmmMixer final : public Mixer { |