diff options
Diffstat (limited to 'wl1271/CUDK/os/common/inc/cu_osapi.h')
-rw-r--r-- | wl1271/CUDK/os/common/inc/cu_osapi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wl1271/CUDK/os/common/inc/cu_osapi.h b/wl1271/CUDK/os/common/inc/cu_osapi.h index 665af075..f22e8f2a 100644 --- a/wl1271/CUDK/os/common/inc/cu_osapi.h +++ b/wl1271/CUDK/os/common/inc/cu_osapi.h @@ -48,11 +48,15 @@ * be specifically declared here, and only if they weren't defined before by someone * including common.h */ -#ifndef ANDROID +#ifndef COMMON_H typedef unsigned char u8; typedef unsigned short u16; typedef unsigned long u32; typedef unsigned long long u64; + +#ifndef BIT +#define BIT(x) (1 << (x)) +#endif #endif #ifndef NULL |