mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 00:35:07 -05:00
configure: fix compiler warning in pthread test code
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -647,7 +647,7 @@ fi
|
|||||||
|
|
||||||
if [ $feat_asyncdns = "1" ] && \
|
if [ $feat_asyncdns = "1" ] && \
|
||||||
test_code 'pthread' 'pthread.h' '-pthread' '' \
|
test_code 'pthread' 'pthread.h' '-pthread' '' \
|
||||||
'return pthread_create((void *)1, NULL, (void *)1, NULL);'
|
'return (int)pthread_create((void *)1, NULL, (void *)1, NULL);'
|
||||||
then
|
then
|
||||||
add_def FEAT_ASYNCDNS
|
add_def FEAT_ASYNCDNS
|
||||||
add_def USE_PTHREAD_ASYNCDNS
|
add_def USE_PTHREAD_ASYNCDNS
|
||||||
|
|||||||
Reference in New Issue
Block a user