Fixes: 597bddad47e8 ("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>
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']):