summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-10-26 15:11:11 +0000
committerJosé Fonseca <[email protected]>2009-10-26 15:17:26 +0000
commitad0975f7011222f8da4fda5cc4a6d45468445ab1 (patch)
tree6439825dcf17590aac3657ffad9a81d4f7a0d422 /scons/gallium.py
parent87127c83dc1def817c767abbb96e891ff2314ac2 (diff)
scons: Define _USE_MATH_DEFINES on MSVC.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 34877b2f8b3..a6d69fd16d5 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -263,6 +263,7 @@ def generate(env):
if msvc and env['toolchain'] != 'winddk':
cppdefines += [
'VC_EXTRALEAN',
+ '_USE_MATH_DEFINES',
'_CRT_SECURE_NO_WARNINGS',
'_CRT_SECURE_NO_DEPRECATE',
'_SCL_SECURE_NO_WARNINGS',