1 #ifndef ULINUX_COMPILER_MISC_H
2 #define ULINUX_COMPILER_MISC_H
4 * this code is protected by the GNU affero GPLv3
5 * author:Sylvain BERTRAND
7 /*----------------------------------------------------------------------------*/
9 #define unreachable __builtin_unreachable
10 #define GCC_NOCLONE __attribute__((noclone))
11 #define GCC_NOINLINE __attribute__((noinline))
15 /*----------------------------------------------------------------------------*/
17 /*----------------------------------------------------------------------------*/
19 #define PACKED __attribute__((packed))
23 #error "the compiler must support packed structure in some way"
25 /*----------------------------------------------------------------------------*/