From 333a08ebf9ceb86d5f9354f96321c4c0f704374e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 08:53:08 +0100 Subject: replay_gain_info, ...: use cmath instead of math.h in C++ mode Fixes build problems with mingw32. --- src/PlayerControl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/PlayerControl.cxx') diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx index 275556fe8..4fa9f75b2 100644 --- a/src/PlayerControl.cxx +++ b/src/PlayerControl.cxx @@ -28,9 +28,10 @@ extern "C" { #include "DecoderControl.hxx" #include "Main.hxx" +#include + #include #include -#include static void pc_enqueue_song_locked(struct player_control *pc, struct song *song); @@ -49,7 +50,7 @@ player_control::player_control(unsigned _buffer_chunks, next_song(nullptr), cross_fade_seconds(0), mixramp_db(0), - mixramp_delay_seconds(nanf("")), + mixramp_delay_seconds(std::nanf("")), total_play_time(0) { } -- cgit v1.2.3