[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38126] trunk/blender/source/blender/ blenlib/BLI_math_base.h: Patch #27842: build fix for solaris, missing finite().

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Jul 5 21:04:38 CEST 2011


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




More information about the Bf-blender-cvs mailing list