[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29578] branches/render25/source/blender/ blenlib/BLI_math_base.h: Render Branch: trying to fix windows compile.

Brecht Van Lommel brecht at blender.org
Sun Jun 20 17:38:50 CEST 2010


Revision: 29578
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29578
Author:   blendix
Date:     2010-06-20 17:38:49 +0200 (Sun, 20 Jun 2010)

Log Message:
-----------
Render Branch: trying to fix windows compile.

Modified Paths:
--------------
    branches/render25/source/blender/blenlib/BLI_math_base.h

Modified: branches/render25/source/blender/blenlib/BLI_math_base.h
===================================================================
--- branches/render25/source/blender/blenlib/BLI_math_base.h	2010-06-20 15:34:04 UTC (rev 29577)
+++ branches/render25/source/blender/blenlib/BLI_math_base.h	2010-06-20 15:38:49 UTC (rev 29578)
@@ -115,6 +115,9 @@
 #ifndef fmodf
 #define fmodf(a, b) ((float)fmod(a, b))
 #endif
+#ifndef hypotf
+#define hypotf(a, b) ((float)hypot(a, b))
+#endif
 
 #ifdef WIN32
 #ifndef FREE_WINDOWS





More information about the Bf-blender-cvs mailing list