Add a NO_INLINE attribute to gcc_extensions.

Will want later.

Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
This commit is contained in:
Michael Sevakis 2012-04-26 15:11:13 -04:00
parent c51fe40a7d
commit 2866063c3c
1 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,11 @@
#define FORCE_INLINE inline
#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 */
#if defined(__GNUC__) && (__GNUC__ >= 4 || \