From a9bcd531f292782bdb59bcffe31cdf0b4f3ca571 Mon Sep 17 00:00:00 2001 From: Gregory Alexander Date: Wed, 11 Apr 2001 14:31:45 +0000 Subject: [PATCH] Added bx_ types to allow compilation on systems that already define u_char, etc. This gets it compiling under AIX 4.3.1. --- bochs/fpu/stubs/linux/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bochs/fpu/stubs/linux/types.h b/bochs/fpu/stubs/linux/types.h index e7d97ad4f..5ea5a618d 100644 --- a/bochs/fpu/stubs/linux/types.h +++ b/bochs/fpu/stubs/linux/types.h @@ -2,6 +2,16 @@ #define _LINUX_TYPES_H #ifndef __ASSEMBLY__ + +#define u_char bx_u_char +#define u_short bx_u_short +#define u_int bx_u_int +#define u_long bx_u_long +#define unchar bx_unchar +#define ushort bx_ushort +#define uint bx_uint +#define ulong bx_ulong + /* bsd */ typedef unsigned char u_char; typedef unsigned short u_short;