diff options
Diffstat (limited to 'src/commonlib/bsd/include')
-rw-r--r-- | src/commonlib/bsd/include/commonlib/bsd/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/compiler.h b/src/commonlib/bsd/include/commonlib/bsd/compiler.h index 6bde28db0e..2d77c49ab5 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/compiler.h +++ b/src/commonlib/bsd/include/commonlib/bsd/compiler.h @@ -50,6 +50,10 @@ #define __noreturn __attribute__((__noreturn__)) #endif +#ifndef __section +#define __section(section) __attribute__((__section__(section))) +#endif + #ifndef __always_inline #define __always_inline inline __attribute__((__always_inline__)) #endif |