18 lines
496 B
Diff
18 lines
496 B
Diff
Link:
|
|
Subject: Enable inline for lcc
|
|
Bug: 146136
|
|
|
|
|
|
diff -Naur a/src/base/basictypes.h b/src/base/basictypes.h
|
|
--- a/src/base/basictypes.h 2023-07-05 13:07:30.607743952 +0000
|
|
+++ b/src/base/basictypes.h 2023-07-05 13:08:05.016340452 +0000
|
|
@@ -413,7 +413,7 @@
|
|
#define ATTRIBUTE_HIDDEN
|
|
#endif
|
|
|
|
-#if defined(__GNUC__)
|
|
+#if defined(__GNUC__) || defined(__e2k__)
|
|
#define ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline))
|
|
#elif defined(_MSC_VER)
|
|
#define ATTRIBUTE_ALWAYS_INLINE __forceinline
|