main/utils: Simplify the FreeBSD ast_get_tid() handling

FreeBSD has had kernel threads for 20+ years.

(cherry picked from commit ec2c10689f)
This commit is contained in:
Brad Smith
2024-01-27 02:43:50 -05:00
committed by Asterisk Development Team
parent 2ec0b83e5b
commit 30d05081d7
4 changed files with 4 additions and 24 deletions

View File

@@ -1172,9 +1172,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);])],