projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d70e7
)
linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts
author
Alexander Graf
<agraf@suse.de>
Mon, 30 Apr 2012 22:58:55 +0000
(22:58 +0000)
committer
malc
<av1474@comtv.ru>
Tue, 1 May 2012 19:44:43 +0000
(23:44 +0400)
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>
thunk.h
patch
|
blob
|
history
diff --git
a/thunk.h
b/thunk.h
index 5be8f912f5ee2ba656dacc2ae19aba60e782f361..87025c3b04dd91e78008830281fbbced24e133f6 100644
(file)
--- a/
thunk.h
+++ b/
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