projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69da33a
)
fix build on ppc when long double == double
author
rofl0r
<retnyg@gmx.net>
Thu, 22 Nov 2012 15:26:21 +0000
(16:26 +0100)
committer
rofl0r
<retnyg@gmx.net>
Thu, 22 Nov 2012 15:26:21 +0000
(16:26 +0100)
src/powerpc/ffi.c
patch
|
blob
|
history
diff --git
a/src/powerpc/ffi.c
b/src/powerpc/ffi.c
index baca69448feb70b7d731e17da1d1f3aaf29daa3a..257f02fab3eeec55128864ed2182be3a3c5306cf 100644
(file)
--- a/
src/powerpc/ffi.c
+++ b/
src/powerpc/ffi.c
@@
-664,9
+664,11
@@
ffi_prep_cif_machdep (ffi_cif *cif)
switch (type)
{
#ifndef __NO_FPRS__
+#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
case FFI_TYPE_LONGDOUBLE:
flags |= FLAG_RETURNS_128BITS;
/* Fall through. */
+#endif
case FFI_TYPE_DOUBLE:
flags |= FLAG_RETURNS_64BITS;
/* Fall through. */