From 5dbe4149457190564c9a9a4f22cc86dbc7924e62 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 9 Oct 2011 22:41:22 +0200 Subject: Define BITS_PER_LONG for Linux code * linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32. --- linux/src/include/asm-i386/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux') diff --git a/linux/src/include/asm-i386/types.h b/linux/src/include/asm-i386/types.h index 71309ac..d792546 100644 --- a/linux/src/include/asm-i386/types.h +++ b/linux/src/include/asm-i386/types.h @@ -39,6 +39,8 @@ typedef unsigned int u32; typedef signed long long s64; typedef unsigned long long u64; +#define BITS_PER_LONG 32 + #endif /* __KERNEL__ */ #endif -- cgit v1.2.3