diff options
author | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-07-03 09:47:02 +0000 |
---|---|---|
committer | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-07-03 09:47:02 +0000 |
commit | 42e3b666efbfdf209f1281efd5ca839c0f12df26 (patch) | |
tree | 7c9933aafeb05fe332bb78ca75b2e1450ef7fa1e /vsprojects | |
parent | 26261eb756bef77faccca34477cd5e1d9082b39b (diff) |
set _VARDADIC_MAX=10 preprocessor definition to make test pass in vc11.
Diffstat (limited to 'vsprojects')
-rw-r--r-- | vsprojects/tests.vcproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vsprojects/tests.vcproj b/vsprojects/tests.vcproj index 6f730289..6df659ae 100644 --- a/vsprojects/tests.vcproj +++ b/vsprojects/tests.vcproj @@ -46,7 +46,7 @@ AdditionalOptions="/wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305" Optimization="0" AdditionalIncludeDirectories="../src;.;../gtest/include" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_VARIADIC_MAX=10;" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -122,7 +122,7 @@ Name="VCCLCompilerTool" AdditionalOptions="/wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305" AdditionalIncludeDirectories="../src;.;../gtest/include" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_VARIADIC_MAX=10;" RuntimeLibrary="2" UsePrecompiledHeader="0" WarningLevel="3" |