From 7178f10b81006082937de8fa8be90076f478da64 Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Sat, 20 Mar 2010 16:28:51 +0000 Subject: Replacing NAN with C++ limits version, hope that works for MSVC... --- intern/audaspace/intern/AUD_NULLDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/audaspace/intern/AUD_NULLDevice.cpp b/intern/audaspace/intern/AUD_NULLDevice.cpp index 83d908afa43..c9dfadd1839 100644 --- a/intern/audaspace/intern/AUD_NULLDevice.cpp +++ b/intern/audaspace/intern/AUD_NULLDevice.cpp @@ -23,7 +23,7 @@ * ***** END LGPL LICENSE BLOCK ***** */ -#include +#include #include "AUD_NULLDevice.h" #include "AUD_IReader.h" @@ -78,7 +78,7 @@ bool AUD_NULLDevice::seek(AUD_Handle* handle, float position) float AUD_NULLDevice::getPosition(AUD_Handle* handle) { - return NAN; + return std::numeric_limits::quiet_NaN(); } AUD_Status AUD_NULLDevice::getStatus(AUD_Handle* handle) -- cgit v1.2.3