mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-19 00:39:38 +00:00
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:
@@ -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'],
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user