We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f080aa commit 91a1585Copy full SHA for 91a1585
scripts/autotools/libbson/FindDependencies.m4
@@ -2,11 +2,6 @@ if test "$os_win32" != "yes"; then
2
PHP_MONGODB_BUNDLED_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS -D_DEFAULT_SOURCE"
3
fi
4
5
-# Enable macOS extensions for strlcpy and arc4random
6
-if test "$os_darwin" = "yes"; then
7
- PHP_MONGODB_BUNDLED_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS -D_DARWIN_C_SOURCE=1"
8
-fi
9
-
10
# Check for strnlen()
11
dnl AC_CHECK_FUNC isn't properly respecting _XOPEN_SOURCE for strnlen for unknown reason
12
AC_SUBST(BSON_HAVE_STRNLEN, 0)
0 commit comments