"googlemock/docs/DevGuide.md" did not exist on "642acbd61235dc68f606237193cf7e7c4a61af67"
Commit ba99a04b authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

Check whether _MSC_VER is defined when detecting presence of cxxabi.h under libc++.

If _MSC_VER is defined, it means that we are using the Microsoft
ABI, so cxxabi.h (which is associated with the Itanium ABI) will not
be available.
parent 1b077667
......@@ -980,7 +980,7 @@ using ::std::tuple_size;
#endif
// _LIBCPP_VERSION is defined by the libc++ library from the LLVM project.
#if defined(__GLIBCXX__) || defined(_LIBCPP_VERSION)
#if defined(__GLIBCXX__) || (defined(_LIBCPP_VERSION) && !defined(_MSC_VER))
# define GTEST_HAS_CXXABI_H_ 1
#else
# define GTEST_HAS_CXXABI_H_ 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment