Fixes XL C++ 10.1 compiler errors (based on patch by Hady Zalek); cleans up formatting of GTEST_NO_INLINE_.
This commit is contained in:
@@ -662,12 +662,12 @@
|
||||
# define GTEST_API_
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#ifdef __GNUC__
|
||||
// Ask the compiler to never inline a given function.
|
||||
#define GTEST_NO_INLINE_ __attribute__((noinline))
|
||||
# define GTEST_NO_INLINE_ __attribute__((noinline))
|
||||
#else
|
||||
#define GTEST_NO_INLINE_
|
||||
#endif // __GNUC__
|
||||
# define GTEST_NO_INLINE_
|
||||
#endif
|
||||
|
||||
namespace testing {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user