From 87b686f9c95584efaf2cf276f37ffc1c8e459121 Mon Sep 17 00:00:00 2001 From: Yura Pakhuchiy Date: Sat, 21 Jul 2007 14:30:18 +0300 Subject: [PATCH] Undef __bitwise and __force in case someone else defined them before us --- include/ntfs/types.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/ntfs/types.h b/include/ntfs/types.h index bb0e654b..bc1ad00b 100644 --- a/include/ntfs/types.h +++ b/include/ntfs/types.h @@ -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;