Skip to content

Commit 8de5632

Browse files
committed
Merged pull request #896
2 parents 473a937 + 644a2b3 commit 8de5632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/autotools/libbson/FindDependencies.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ AC_CHECK_FUNC(gmtime_r, [AC_SUBST(BSON_HAVE_GMTIME_R, 1)])
7373

7474
# Check for rand_r()
7575
AC_SUBST(BSON_HAVE_RAND_R, 0)
76-
AC_CHECK_FUNC(rand_r, [AC_SUBST(BSON_HAVE_RAND_R, 1)], [], [#include <stdlib.h>])
76+
AC_CHECK_FUNC(rand_r, [AC_SUBST(BSON_HAVE_RAND_R, 1)])
7777

7878
# Check for pthreads. We might need to make this better to handle mingw,
7979
# but I actually think it is okay to just check for it even though we will

0 commit comments

Comments
 (0)