diff options
author | Alexander Graf <agraf@suse.de> | 2012-04-30 22:58:55 +0000 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2012-05-01 23:44:43 +0400 |
commit | 65074706b9353bae7307fcfcbbf63a36f6896aa7 (patch) | |
tree | b9bdca2fcf627d6701a0ce1ea78d10a3ebdf642d /thunk.h | |
parent | 30d70e71b3250ab4a0e3209836e1153f1e5e04ba (diff) |
linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts
On my PPC host, HOST_LONG_SIZE is not defined even after
running configure. Use the normal C way of determining the
long size instead.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'thunk.h')
-rw-r--r-- | thunk.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ static inline int thunk_type_size(const argtype *type_ptr, int is_host) defined(HOST_PARISC) || defined(HOST_SPARC64) return 4; #elif defined(HOST_PPC) - return HOST_LONG_SIZE; + return sizeof(void *); #else return 2; #endif |