mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
scons: Fix random_r check.
Fixes: 597bddad47 ("scons: Test for random_r()")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
3f9012839e
commit
412e1b51fe
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ def generate(env):
|
|||
if check_functions(env, ['strtod_l', 'strtof_l']):
|
||||
cppdefines += ['HAVE_STRTOD_L']
|
||||
|
||||
if check_functions(env, 'random_r'):
|
||||
if check_functions(env, ['random_r']):
|
||||
cppdefines += ['HAVE_RANDOM_R']
|
||||
|
||||
if check_functions(env, ['timespec_get']):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue