mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
30d70e71b3
commit
65074706b9
1 changed files with 1 additions and 1 deletions
2
thunk.h
2
thunk.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue