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
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-03-21 03:04:50 +0300
committerJoerg Mueller <nexyon@gmail.com>2010-03-21 03:04:50 +0300
commit42a0ef4dcfca7934329cd3c0b911f9d895582efc (patch)
tree8771c76db6a56466a420fd994658f45c1aa9d5e7 /source/blender/blenlib/BLI_math_base.h
parentd55cf90bb6330899b97079c07f8344a804389468 (diff)
OK, compiling doesn't mean it runs, now it should really be fixed, as I don't use NAN directly anymore.
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r--source/blender/blenlib/BLI_math_base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h
index b080aa6b5f0..c143c44c594 100644
--- a/source/blender/blenlib/BLI_math_base.h
+++ b/source/blender/blenlib/BLI_math_base.h
@@ -69,10 +69,6 @@ extern "C" {
#ifndef M_LN10
#define M_LN10 2.30258509299404568402
#endif
-#ifndef NAN
-static const unsigned long __qnan__ = 0x7fc00000UL;
-#define NAN ((const float) __qnan__)
-#endif
#ifndef sqrtf
#define sqrtf(a) ((float)sqrt(a))