mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
macros: add NOINLINE (__attribute__((noinline)))
This commit is contained in:
parent
fc79dbb5a3
commit
7d0fb3cccd
1 changed files with 6 additions and 0 deletions
6
macros.h
6
macros.h
|
|
@ -26,6 +26,12 @@
|
|||
#define UNUSED
|
||||
#endif
|
||||
|
||||
#if HAS_ATTRIBUTE(noinline)
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
#else
|
||||
#define NOINLINE
|
||||
#endif
|
||||
|
||||
#if HAS_ATTRIBUTE(const)
|
||||
#define CONST __attribute__((__const__))
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue