Undef __bitwise and __force in case someone else defined them before us

edge.strict_endians
Yura Pakhuchiy 2007-07-21 14:30:18 +03:00
parent 311ecc507e
commit 87b686f9c9
1 changed files with 8 additions and 4 deletions

View File

@ -47,11 +47,15 @@ typedef int32_t s32;
typedef int64_t s64;
#ifdef __CHECKER__
#define __bitwise __attribute__((bitwise))
#define __force __attribute__((force))
#undef __bitwise
#undef __force
#define __bitwise __attribute__((bitwise))
#define __force __attribute__((force))
#else
#define __bitwise
#define __force
#undef __bitwise
#undef __force
#define __bitwise
#define __force
#endif
typedef u16 __bitwise le16;