diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-08-16 00:47:22 (GMT) |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-08-16 00:47:22 (GMT) |
commit | cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5 (patch) | |
tree | 677ab1ab91c33415d240c8eb9d628159557cf3fe /include/gtest/internal/gtest-port.h | |
parent | c2922d4ed2ecff5ba889b2008dba45dbc39c9168 (diff) | |
download | googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.zip googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.tar.gz googletest-cf3f92ef93ffc35ec1efe8b3b1d65b2624d84de5.tar.bz2 |
Fixes a user reported test break (modifying a dict while iterating).
Diffstat (limited to 'include/gtest/internal/gtest-port.h')
-rw-r--r-- | include/gtest/internal/gtest-port.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h index 891ac8a..8a76088 100644 --- a/include/gtest/internal/gtest-port.h +++ b/include/gtest/internal/gtest-port.h @@ -678,6 +678,13 @@ # define GTEST_NO_INLINE_ #endif +// _LIBCPP_VERSION is defined by the libc++ library from the LLVM project. +#if defined(__GLIBCXX__) || defined(_LIBCPP_VERSION) +# define GTEST_HAS_CXXABI_H_ 1 +#else +# define GTEST_HAS_CXXABI_H_ 0 +#endif + namespace testing { class Message; |