Revision: 15433
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15433
Author:   elubie
Date:     2008-07-04 22:21:08 +0200 (Fri, 04 Jul 2008)

Log Message:
-----------
== compile fix ==
- fix compilation for MSVC (added missing math define)
- note: defines were already duplicated, added twice to keep them in synch

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_arithb.h
    trunk/blender/source/blender/blenlib/BLI_winstuff.h

Modified: trunk/blender/source/blender/blenlib/BLI_arithb.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_arithb.h   2008-07-04 19:56:31 UTC 
(rev 15432)
+++ trunk/blender/source/blender/blenlib/BLI_arithb.h   2008-07-04 20:21:08 UTC 
(rev 15433)
@@ -50,6 +50,9 @@
 #ifndef M_SQRT1_2
 #define M_SQRT1_2      0.70710678118654752440
 #endif
+#ifndef M_1_PI
+#define M_1_PI         0.318309886183790671538
+#endif
 
 #ifdef WIN32
        #ifndef FREE_WINDOWS

Modified: trunk/blender/source/blender/blenlib/BLI_winstuff.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_winstuff.h 2008-07-04 19:56:31 UTC 
(rev 15432)
+++ trunk/blender/source/blender/blenlib/BLI_winstuff.h 2008-07-04 20:21:08 UTC 
(rev 15433)
@@ -73,6 +73,9 @@
 #ifndef M_SQRT1_2
 #define M_SQRT1_2      0.70710678118654752440
 #endif
+#ifndef M_1_PI
+#define M_1_PI         0.318309886183790671538
+#endif
 
 #define MAXPATHLEN MAX_PATH
 


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

Reply via email to