Replacing NAN with C++ limits version, hope that works for MSVC...

This commit is contained in:
Joerg Mueller
2010-03-20 16:28:51 +00:00
parent 08164794b2
commit 7178f10b81

View File

@@ -23,7 +23,7 @@
* ***** END LGPL LICENSE BLOCK *****
*/
#include <cmath>
#include <limits>
#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<float>::quiet_NaN();
}
AUD_Status AUD_NULLDevice::getStatus(AUD_Handle* handle)