Fix Windows unittest build on VC2012

R=mark at https://breakpad.appspot.com/539003/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1133 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek@gmail.com 2013-03-29 14:39:55 +00:00
parent 0192fc21b9
commit cd0eb0f8dc

View file

@ -49,8 +49,13 @@
'include_dirs': [
'<(DEPTH)/testing/include',
'<(DEPTH)/testing/gtest/include',
]
],
# Visual C++ implements variadic templates strangely, and
# VC++2012 broke Google Test by lowering this value. See
# http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
'defines': ['_VARIADIC_MAX=10'],
},
'defines': ['_VARIADIC_MAX=10'],
},
{
'target_name': 'gmock',
@ -69,8 +74,10 @@
'include_dirs': [
'<(DEPTH)/testing/include',
'<(DEPTH)/testing/gtest/include',
]
],
'defines': ['_VARIADIC_MAX=10'],
},
'defines': ['_VARIADIC_MAX=10'],
},
],