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>
(cherry picked from commit 769cd0ee9f0cf8ceb026aa751b5d4a390bb5dbdc)
(changed define to match master)
This commit is contained in:
Rosen Penev
2020-02-02 21:21:57 -08:00
parent 81c16273c5
commit 85c27840a3
8 changed files with 52 additions and 15 deletions

View File

@@ -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 <stdexcept>
#include <assert.h>
#include <math.h>
#include <windows.h>
class WinmmMixer final : public Mixer {