Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); Enables gMock to compile with VC 7.1 (by Vlad Losev).
This commit is contained in:
@@ -55,10 +55,12 @@ namespace {
|
||||
|
||||
using ::std::ostream;
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
#ifdef _WIN32_WCE // Windows CE does not define _snprintf_s.
|
||||
#define snprintf _snprintf
|
||||
#elif GTEST_OS_WINDOWS
|
||||
#elif _MSC_VER >= 1400 // VC 8.0 and later deprecate snprintf and _snprintf.
|
||||
#define snprintf _snprintf_s
|
||||
#elif _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
// Prints a segment of bytes in the given object.
|
||||
|
||||
Reference in New Issue
Block a user