Commit 2346d257 by zhanyong.wan

Supports no-RTTI mode on AIX (by Hady Zalek).

parent 92344b76
......@@ -333,7 +333,7 @@
#define GTEST_HAS_RTTI 1
#else
#define GTEST_HAS_RTTI 0
#endif // _CPPRTTI
#endif
#elif defined(__GNUC__)
......@@ -349,6 +349,16 @@
#define GTEST_HAS_RTTI 1
#endif // GTEST_GCC_VER >= 40302
#elif defined(__IBMCPP__)
// IBM Visual Age defines __RTTI_ALL__ to 1 if both the typeid and
// dynamic_cast features are present.
#ifdef __RTTI_ALL__
#define GTEST_HAS_RTTI 1
#else
#define GTEST_HAS_RTTI 0
#endif
#else
// Unknown compiler - assume RTTI is enabled.
......
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