scons: Test for random_r()
Suggested-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
c96407f37e
commit
597bddad47
|
@ -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…
Reference in New Issue