aboutsummaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 15:16:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 15:16:52 +0000
commit4683b130e562b5718115442e02b85e90501bb8b0 (patch)
tree0936627e3954e945b00603fb0615e1c32efe29c4 /linux-user/qemu.h
parenta03e2d421e7f33316750d6b7396d1a7e14b18d53 (diff)
always define TARGET_ABI32 if 32 bit user
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3643 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h4
1 files changed, 4 insertions, 0 deletions
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"