projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
33c9954
3998d26
)
Merge pull request #75 from joshtriplett/longdouble
author
Anthony Green
<green@moxielogic.com>
Fri, 28 Feb 2014 05:50:25 +0000
(
00:50
-0500)
committer
Anthony Green
<green@moxielogic.com>
Fri, 28 Feb 2014 05:50:25 +0000
(
00:50
-0500)
Fix build error on x86 without distinct long double
1
2
src/x86/ffi64.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/x86/ffi64.c
index fd314242145264ade0173bb8df25123d4c26b3a1,34e395b1e3d75d49c2faddc224cbf458f8414849..5a5e04383548637939db7b2954456fdf58a199d9
---
1
/
src/x86/ffi64.c
---
2
/
src/x86/ffi64.c
+++ b/
src/x86/ffi64.c
@@@
-207,10
-208,11
+208,11
@@@
classify_argument (ffi_type *type, enu
classes[0] = X86_64_X87_CLASS;
classes[1] = X86_64_X87UP_CLASS;
return 2;
+ #endif
case FFI_TYPE_STRUCT:
{
- const
in
t UNITS_PER_WORD = 8;
-
in
t words = (type->size + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
+ const
size_
t UNITS_PER_WORD = 8;
+
size_
t words = (type->size + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
ffi_type **ptr;
int i;
enum x86_64_reg_class subclasses[MAX_CLASSES];