projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46ad40
)
scons: Define _USE_MATH_DEFINES on MSVC.
author
Vinson Lee
<vlee@vmware.com>
Tue, 22 Dec 2009 01:25:03 +0000
(17:25 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 22 Dec 2009 01:25:03 +0000
(17:25 -0800)
scons/gallium.py
patch
|
blob
|
history
scons/generic.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index bf6172b4d777d226a0c2f10385b79ea0fc531914..9adba0a0a1d9c9508227ff672af3e5ccdd69386c 100644
(file)
--- 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_DEPRECATE',
]
if debug:
diff --git
a/scons/generic.py
b/scons/generic.py
index a9c2244a74fa1ab63529648b1db5cedbac023f7e..2a085ddece48a90d6e94c7a8fc20387f8f76798d 100644
(file)
--- a/
scons/generic.py
+++ b/
scons/generic.py
@@
-335,6
+335,7
@@
def generate(env):
if msvc:
cppdefines += [
'VC_EXTRALEAN',
+ '_USE_MATH_DEFINES',
'_CRT_SECURE_NO_DEPRECATE',
]
if debug: