always define TARGET_ABI32 if 32 bit user
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 14 Nov 2007 15:16:52 +0000 (15:16 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 14 Nov 2007 15:16:52 +0000 (15:16 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3643 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/qemu.h

index 5917cb51aa64a4ac1bafb9eb88fe2c2e1af4bcfc..537facbf2d504bca76916f9fbc21f41ed7e3f95b 100644 (file)
@@ -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"