diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 21:29:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 21:29:12 +0000 |
| commit | 7d0fb3cccd2b43c459bdf08a69254e974c361169 (patch) | |
| tree | fbc102329b21154d957c74848081b770576b3589 | |
| parent | box-drawing: dedicated functions to draw a full horizontal/vertical line (diff) | |
macros: add NOINLINE (__attribute__((noinline)))
| -rw-r--r-- | macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
