Skip to content

Commit 4542dd0

Browse files
committed
PHPC-2477: BSON_HAVE_REALLOCF is obsolete
BSON_HAVE_REALLOCF was no longer used when libbson was vendored in CDRIVER-2416
1 parent 6d6e0eb commit 4542dd0

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

config.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ if (PHP_MONGODB != "no") {
134134
BSON_HAVE_STRNLEN: 0,
135135
BSON_HAVE_SNPRINTF: 0,
136136
BSON_HAVE_STRLCPY: 0,
137-
BSON_HAVE_REALLOCF: 0,
138137
BSON_NEEDS_SET_OUTPUT_FORMAT: 0,
139138
BSON_HAVE_TIMESPEC: 0,
140139
BSON_EXTRA_ALIGN: 0,

scripts/autotools/libbson/FindDependencies.m4

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

16-
# Check for reallocf() (BSD/Darwin)
17-
AC_SUBST(BSON_HAVE_REALLOCF, 0)
18-
AC_CACHE_CHECK([for reallocf],
19-
bson_cv_have_reallocf,
20-
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
21-
#include <stdlib.h>
22-
int reallocf () { return 0; }
23-
]])],
24-
[bson_cv_have_reallocf=no],
25-
[bson_cv_have_reallocf=yes])])
26-
if test "$bson_cv_have_reallocf" = yes; then
27-
AC_SUBST(BSON_HAVE_REALLOCF, 1)
28-
fi
29-
3016
# Check for syscall()
3117
AC_SUBST(BSON_HAVE_SYSCALL_TID, 0)
3218
AC_CACHE_CHECK([for syscall],

0 commit comments

Comments
 (0)