Commit 65074706 authored by Alexander Graf's avatar Alexander Graf Committed by malc

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: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarmalc <av1474@comtv.ru>
parent 30d70e71
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment