From 4683b130e562b5718115442e02b85e90501bb8b0 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 14 Nov 2007 15:16:52 +0000 Subject: [PATCH] always define TARGET_ABI32 if 32 bit user git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3643 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/qemu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 5917cb51aa..537facbf2d 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -20,6 +20,10 @@ typedef target_long abi_long; #define TARGET_ABI_FMT_ld TARGET_FMT_ld #define TARGET_ABI_FMT_lu TARGET_FMT_lu #define TARGET_ABI_BITS TARGET_LONG_BITS +/* for consistency, define ABI32 too */ +#if TARGET_ABI_BITS == 32 +#define TARGET_ABI32 1 +#endif #endif #include "thunk.h" -- 2.11.0