Merge pull request #1034 from dankegel/master

Minimal changes to fix build failures on Microsoft Visual Studio 2015
This commit is contained in:
Billy Donahue
2017-05-02 14:53:21 -04:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -622,7 +622,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
// Determines if hash_map/hash_set are available.
// Only used for testing against those containers.
#if !defined(GTEST_HAS_HASH_MAP_)
# if _MSC_VER
# if defined(_MSC_VER) && (_MSC_VER < 1900)
# define GTEST_HAS_HASH_MAP_ 1 // Indicates that hash_map is available.
# define GTEST_HAS_HASH_SET_ 1 // Indicates that hash_set is available.
# endif // _MSC_VER