mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 09:48:07 +02:00
scons: Define _USE_MATH_DEFINES on MSVC.
This commit is contained in:
parent
e46ad402f1
commit
2b7b2b90e3
2 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -335,6 +335,7 @@ def generate(env):
|
|||
if msvc:
|
||||
cppdefines += [
|
||||
'VC_EXTRALEAN',
|
||||
'_USE_MATH_DEFINES',
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
]
|
||||
if debug:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue