From 3c8cfe9b76d6010c1a2f967b3e800b3169e15716 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 18 Feb 2013 13:56:41 +0000 Subject: [PATCH] Fix MSVC compilation, thanks to Fred. --- simgear/sound/sample_group.cxx | 3 +++ 1 file changed, 3 insertions(+) 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])); -- 2.39.5