Skip to content

Commit 7968a61

Browse files
committed
PHPC-2477: BSON_HAVE_SYSCALL_TID is obsolete
CDRIVER-2771 removed outstanding references to BSON_HAVE_SYSCALL_TID
1 parent 4542dd0 commit 7968a61

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

config.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ if (PHP_MONGODB != "no") {
137137
BSON_NEEDS_SET_OUTPUT_FORMAT: 0,
138138
BSON_HAVE_TIMESPEC: 0,
139139
BSON_EXTRA_ALIGN: 0,
140-
BSON_HAVE_SYSCALL_TID: 0,
141140
BSON_HAVE_DECIMAL128: 0,
142141
BSON_HAVE_GMTIME_R: 0,
143142
BSON_HAVE_RAND_R: 0,

scripts/autotools/libbson/FindDependencies.m4

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,6 @@ if test "$bson_cv_have_strnlen" = yes; then
1313
AC_SUBST(BSON_HAVE_STRNLEN, 1)
1414
fi
1515

16-
# Check for syscall()
17-
AC_SUBST(BSON_HAVE_SYSCALL_TID, 0)
18-
AC_CACHE_CHECK([for syscall],
19-
bson_cv_have_syscall_tid,
20-
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
21-
#include <unistd.h>
22-
#include <sys/syscall.h>
23-
int syscall () { return 0; }
24-
]])],
25-
[bson_cv_have_syscall_tid=no],
26-
[bson_cv_have_syscall_tid=yes])])
27-
if test "$bson_cv_have_syscall_tid" = yes -a "$os_darwin" != "yes"; then
28-
AC_CACHE_CHECK([for SYS_gettid],
29-
bson_cv_have_sys_gettid_tid,
30-
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
31-
#include <unistd.h>
32-
#include <sys/syscall.h>
33-
int gettid () { return SYS_gettid; }
34-
]])],
35-
[bson_cv_have_sys_gettid_tid=yes],
36-
[bson_cv_have_sys_gettid_tid=no])])
37-
if test "$bson_cv_have_sys_gettid_tid" = yes; then
38-
AC_SUBST(BSON_HAVE_SYSCALL_TID, 1)
39-
fi
40-
fi
41-
4216
# Check for snprintf()
4317
AC_SUBST(BSON_HAVE_SNPRINTF, 0)
4418
AC_CHECK_FUNC(snprintf, [AC_SUBST(BSON_HAVE_SNPRINTF, 1)])

0 commit comments

Comments
 (0)