Skip to content

Commit ad53cfa

Browse files
authored
PHPC-2071: Upgrade libmongoc to 1.20.1 (#1304)
1 parent ded3db3 commit ad53cfa

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

config.w32

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ if (PHP_MONGODB != "no") {
147147
BSON_HAVE_SYSCALL_TID: 0,
148148
BSON_HAVE_DECIMAL128: 0,
149149
BSON_HAVE_GMTIME_R: 0,
150-
BSON_HAVE_RAND_R: 0
150+
BSON_HAVE_RAND_R: 0,
151+
BSON_HAVE_ARC4RANDOM_BUF: 0
151152
};
152153

153154
if (CHECK_FUNC_IN_HEADER("stdio.h", "_set_output_format")) {

scripts/autotools/libbson/FindDependencies.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ AC_CHECK_FUNC(gmtime_r, [AC_SUBST(BSON_HAVE_GMTIME_R, 1)])
7979
AC_SUBST(BSON_HAVE_RAND_R, 0)
8080
AC_CHECK_FUNC(rand_r, [AC_SUBST(BSON_HAVE_RAND_R, 1)])
8181

82+
# Check for arc4random_buf
83+
AC_SUBST(BSON_HAVE_ARC4RANDOM_BUF, 0)
84+
AC_CHECK_FUNC(arc4random_buf, [AC_SUBST(BSON_HAVE_ARC4RANDOM_BUF, 1)])
85+
8286
# Check for pthreads. We might need to make this better to handle mingw,
8387
# but I actually think it is okay to just check for it even though we will
8488
# use win32 primatives.

src/LIBMONGOC_VERSION_CURRENT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.0
1+
1.20.1

0 commit comments

Comments
 (0)