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:
authorThomas Dinges <blender@dingto.org>2010-01-25 16:19:52 +0300
committerThomas Dinges <blender@dingto.org>2010-01-25 16:19:52 +0300
commitab5a985cfeb105c5c04b0fe84bc6d4e7ab12c93c (patch)
tree91d76d16534497d1249f56bc7200a22511405f27 /source/blender/blenkernel/intern/unit.c
parentcbb23d96bb4644bd4fdeadbfd790694e57983c53 (diff)
* Added #define _USE_MATH_DEFINES
in some files to get Blender to compile again on msvc. Without that, it didn't found M_PI.
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
-rw-r--r--source/blender/blenkernel/intern/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c
index 1025bee6b8e..c2994e1134c 100644
--- a/source/blender/blenkernel/intern/unit.c
+++ b/source/blender/blenkernel/intern/unit.c
@@ -20,6 +20,7 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
+#define _USE_MATH_DEFINES
#include <stdlib.h>
#include <stdio.h>