summaryrefslogtreecommitdiff
path: root/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gtest/internal/gtest-port.h')
-rw-r--r--include/gtest/internal/gtest-port.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h
index c6d102a..157b47f 100644
--- a/include/gtest/internal/gtest-port.h
+++ b/include/gtest/internal/gtest-port.h
@@ -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 {