diff options
Diffstat (limited to 'include/apos/compiler_attributes.h')
| -rw-r--r-- | include/apos/compiler_attributes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/apos/compiler_attributes.h b/include/apos/compiler_attributes.h new file mode 100644 index 0000000..45b7ac3 --- /dev/null +++ b/include/apos/compiler_attributes.h @@ -0,0 +1,6 @@ +#ifndef APOS_COMPILER_ATTRIBUTES_H + +#define __section(section) __attribute__((__section__(section))) +#define __noinline __attribute__((noinline)) + +#endif /* APOS_COMPILER_ATTRIBUTES_H */ |
