From: James Turner Date: Mon, 18 Feb 2013 13:56:41 +0000 (+0000) Subject: Fix MSVC compilation, thanks to Fred. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3c8cfe9b76d6010c1a2f967b3e800b3169e15716;p=simgear.git Fix MSVC compilation, thanks to Fred. --- diff --git a/simgear/sound/sample_group.cxx b/simgear/sound/sample_group.cxx index c91ca543..78efd167 100644 --- a/simgear/sound/sample_group.cxx +++ b/simgear/sound/sample_group.cxx @@ -34,7 +34,10 @@ #include "sample_group.hxx" using std::string; + +#ifdef HAVE_STD_ISNAN using std::isnan; +#endif bool isNaN(float *v) { return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));