Revision: 38126
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38126
Author:   blendix
Date:     2011-07-05 19:04:38 +0000 (Tue, 05 Jul 2011)
Log Message:
-----------
Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_math_base.h

Modified: trunk/blender/source/blender/blenlib/BLI_math_base.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_math_base.h        2011-07-05 
18:54:16 UTC (rev 38125)
+++ trunk/blender/source/blender/blenlib/BLI_math_base.h        2011-07-05 
19:04:38 UTC (rev 38126)
@@ -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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to