Add a NO_INLINE attribute to gcc_extensions.
Will want later. Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
This commit is contained in:
parent
c51fe40a7d
commit
2866063c3c
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@
|
||||||
#define FORCE_INLINE inline
|
#define FORCE_INLINE inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#define NO_INLINE __attribute__((noinline))
|
||||||
|
#else
|
||||||
|
#define NO_INLINE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Version information from http://ohse.de/uwe/articles/gcc-attributes.html */
|
/* Version information from http://ohse.de/uwe/articles/gcc-attributes.html */
|
||||||
#if defined(__GNUC__) && (__GNUC__ >= 4 || \
|
#if defined(__GNUC__) && (__GNUC__ >= 4 || \
|
||||||
|
|
Loading…
Reference in a new issue