scons: Define _USE_MATH_DEFINES on MSVC.

This commit is contained in:
Vinson Lee
2009-12-21 17:25:03 -08:00
parent e46ad402f1
commit 2b7b2b90e3
2 changed files with 2 additions and 0 deletions

View File

@@ -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:

View File

@@ -335,6 +335,7 @@ def generate(env):
if msvc:
cppdefines += [
'VC_EXTRALEAN',
'_USE_MATH_DEFINES',
'_CRT_SECURE_NO_DEPRECATE',
]
if debug: