mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
main/utils: Simplify the FreeBSD ast_get_tid() handling
FreeBSD has had kernel threads for 20+ years.
(cherry picked from commit 57ea2912e2
)
This commit is contained in:
committed by
Asterisk Development Team
parent
4d09fb191c
commit
afe0fb310d
@@ -1174,9 +1174,6 @@ AC_LINK_IFELSE(
|
||||
#)
|
||||
#fi
|
||||
|
||||
# for FreeBSD thr_self
|
||||
AC_CHECK_HEADERS([sys/thr.h])
|
||||
|
||||
AC_MSG_CHECKING(for compiler sync operations)
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);])],
|
||||
|
Reference in New Issue
Block a user