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:
authorAndrea Weikert <elubie@gmx.net>2008-07-05 00:21:08 +0400
committerAndrea Weikert <elubie@gmx.net>2008-07-05 00:21:08 +0400
commit488a8291d13a631ee1f9a41fce6eccea712ddc5e (patch)
tree0078a96f2b9f71b5c2e2ddf32d377c0a58880264 /source/blender/blenlib/BLI_winstuff.h
parent107b78a3d2b1a37f91b1e46511a3ea29f7f5cbbf (diff)
== compile fix ==
- fix compilation for MSVC (added missing math define) - note: defines were already duplicated, added twice to keep them in synch
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index 9c192ba8b09..11150075bac 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -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