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 22979be commit 63a48d5Copy full SHA for 63a48d5
config.w32
@@ -245,8 +245,10 @@ if (PHP_MONGODB != "no") {
245
246
if (typeof COMPILER_NAME === 'string') {
247
mongoc_opts.MONGOC_CC = COMPILER_NAME;
248
- } else if (typeof VC_VERSIONS[VCVERS] === 'string') {
+ } else if (typeof VC_VERSIONS === 'array' && typeof VC_VERSIONS[VCVERS] === 'string') {
249
mongoc_opts.MONGOC_CC = VC_VERSIONS[VCVERS];
250
+ } else if (typeof COMPILER_NAME_LONG === 'string') {
251
+ mongoc_opts.MONGOC_CC = COMPILER_NAME_LONG;
252
}
253
254
/* MONGOC_USER_SET_CFLAGS and MONGOC_USER_SET_LDFLAGS can be left blank, as we
0 commit comments