diff options
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r-- | linux-user/qemu.h | 4 |
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" |