Fix localtime_r check (#9554)
This commit is contained in:
parent
5138d174cb
commit
a8c26dbfa4
@ -115,7 +115,7 @@ def configure(conf):
|
||||
define_name='HAVE_GETMNTENT', execute = False, mandatory=False)
|
||||
conf.check_cc(
|
||||
msg="Checking for function 'localtime_r' in time.h",
|
||||
fragment = "#include <time.h>\n int main(void) { return localtime_r(NULL, NULL); }\n",
|
||||
fragment = "#include <time.h>\n int main(void) { return NULL == localtime_r(NULL, NULL); }\n",
|
||||
define_name='HAVE_LOCALTIME_R', execute = False, mandatory=False)
|
||||
|
||||
# Boost headers
|
||||
|
Loading…
Reference in New Issue
Block a user