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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-07-05 23:04:38 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-07-05 23:04:38 +0400
commit87c2842630da30e76abb9aed3f3d448b6a4c9c1a (patch)
tree3ab6df982ff619244f8a05fb32e7f014dc621617 /source/blender/blenlib
parent81ad6fa4e6e00fbf5f3e4d2c964e99f88a49148c (diff)
Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_math_base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h
index 6ff57b08724..b5bab6f15be 100644
--- a/source/blender/blenlib/BLI_math_base.h
+++ b/source/blender/blenlib/BLI_math_base.h
@@ -39,6 +39,10 @@
#include <math.h>
#include "BLI_math_inline.h"
+#ifdef __sun__
+#include <ieeefp.h> /* for finite() */
+#endif
+
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif