From 3ae1c78d1ac07cd22727296488a399c48597fd15 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 19 Nov 2018 09:51:29 -0800 Subject: Use std::isfinite instead of isfinite --- Alc/effects/dedicated.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/effects/dedicated.cpp') diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp index 59f31b52..f91458b3 100644 --- a/Alc/effects/dedicated.cpp +++ b/Alc/effects/dedicated.cpp @@ -21,6 +21,7 @@ #include "config.h" #include +#include #include "alMain.h" #include "alcontext.h" @@ -142,7 +143,7 @@ void ALdedicated_setParamf(ALeffect *effect, ALCcontext *context, ALenum param, switch(param) { case AL_DEDICATED_GAIN: - if(!(val >= 0.0f && isfinite(val))) + if(!(val >= 0.0f && std::isfinite(val))) SETERR_RETURN(context, AL_INVALID_VALUE,, "Dedicated gain out of range"); props->Dedicated.Gain = val; break; -- cgit v1.2.3