refactor: decouple i386 specific instruction invocation
[lunaix-os.git] / lunaix-os / includes / lunaix / compiler.h
1 #ifndef __LUNAIX_COMPILER_H
2 #define __LUNAIX_COMPILER_H
3
4 #define likely(x) __builtin_expect((x), 1)
5
6 #define weak_alias(name) __attribute__((weak, alias(name)))
7
8 #endif /* __LUNAIX_COMPILER_H */