Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-03-20 19:28:51 +0300
committerJoerg Mueller <nexyon@gmail.com>2010-03-20 19:28:51 +0300
commit7178f10b81006082937de8fa8be90076f478da64 (patch)
tree35d84710dc9af3b9cb3ed98c7895e49342dd4b8b /intern
parent08164794b2dad21e2ffaf2fa61d60fa77d86d2c8 (diff)
Replacing NAN with C++ limits version, hope that works for MSVC...
Diffstat (limited to 'intern')
-rw-r--r--intern/audaspace/intern/AUD_NULLDevice.cpp4
1 files changed, 2 insertions, 2 deletions
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 <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)