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>2006-11-12 19:21:16 +0300
committerAndrea Weikert <elubie@gmx.net>2006-11-12 19:21:16 +0300
commit7abf00bbce4960dfa14e2ad922e9c0f7cc6c6778 (patch)
tree785d4a907abf93726cd2b32db13c0b9488064d9f /intern/ghost/SConscript
parentc6f9720eb685c9fff312304e7d4b54891ba33db6 (diff)
compile fix for MSVC compiler.
- math.h doesn't include #define M_PI by default (_USE_MATH_DEFINES needs to be defined)
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r--intern/ghost/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index ade73cf71ce..f1393472a01 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -29,4 +29,4 @@ else:
incs = '. ../string ' + env['BF_OPENGL_INC']
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross'):
incs = '#../lib/windows/wintab/INCLUDE ' + incs
-env.BlenderLib ('bf_ghost', sources, Split(incs), [], libtype=['core','player'], priority = [25,15] )
+env.BlenderLib ('bf_ghost', sources, Split(incs), defines=['_USE_MATH_DEFINES'], libtype=['core','player'], priority = [25,15] )