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.
2 parents a0796cd + 1f3850d commit 0571e4bCopy full SHA for 0571e4b
config.w32
@@ -149,11 +149,11 @@ if (PHP_MONGODB != "no") {
149
MONGOC_ENABLE_SASL_SSPI: 0,
150
MONGOC_HAVE_ASN1_STRING_GET0_DATA: 0,
151
MONGOC_HAVE_SASL_CLIENT_DONE: 0,
152
- MONGOC_HAVE_SOCKLEN: 0,
+ MONGOC_HAVE_SOCKLEN: 1,
153
MONGOC_HAVE_WEAK_SYMBOLS: 0,
154
MONGOC_NO_AUTOMATIC_GLOBALS: 1,
155
MONGOC_SOCKET_ARG2: "struct sockaddr",
156
- MONGOC_SOCKET_ARG3: "int",
+ MONGOC_SOCKET_ARG3: "socklen_t",
157
MONGOC_CC: "",
158
MONGOC_USER_SET_CFLAGS: "",
159
MONGOC_USER_SET_LDFLAGS: ""
@@ -190,10 +190,6 @@ if (PHP_MONGODB != "no") {
190
WARNING("mongodb libsasl support not enabled, libs not found");
191
}
192
193
- if (CHECK_FUNC_IN_HEADER("ws2tcpip.h", "socklen_t")) {
194
- mongoc_opts.MONGOC_HAVE_SOCKLEN = 1;
195
- }
196
-
197
if (typeof COMPILER_NAME === 'string') {
198
mongoc_opts.MONGOC_CC = COMPILER_NAME;
199
} else if (typeof VC_VERSIONS[VCVERS] === 'string') {
0 commit comments