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 ae9703d commit 40d8d4aCopy full SHA for 40d8d4a
SConstruct
@@ -1355,6 +1355,13 @@ def doConfigure(myenv):
1355
if haveUUThread:
1356
myenv.Append(CPPDEFINES=['MONGO_HAVE___THREAD'])
1357
1358
+ if using_msvc():
1359
+ # TODO: This is really only needed for MSVC 12, but we have no current way to know
1360
+ # which MSVC version we have. Presuming that this is harmless on other MSVC
1361
+ # implementations. Without this, gtest doesn't build. We need to apply universally, not
1362
+ # just while builing gtest.
1363
+ myenv.Append(CPPDEFINES=[('_VARIADIC_MAX', 10)])
1364
+
1365
conf = Configure(myenv)
1366
libdeps.setup_conftests(conf)
1367
0 commit comments