mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 20:20:18 +01:00
scons: Test for random_r()
Suggested-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
c96407f37e
commit
597bddad47
1 changed files with 3 additions and 0 deletions
|
|
@ -368,6 +368,9 @@ def generate(env):
|
|||
if check_functions(env, ['strtod_l', 'strtof_l']):
|
||||
cppdefines += ['HAVE_STRTOD_L']
|
||||
|
||||
if check_functions(env, 'random_r'):
|
||||
cppdefines += ['HAVE_RANDOM_R']
|
||||
|
||||
if check_functions(env, ['timespec_get']):
|
||||
cppdefines += ['HAVE_TIMESPEC_GET']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue