| Submitter | Andreas Tobler |
|---|---|
| Date | Feb. 2, 2013, 4:36 p.m. |
| Message ID | <510D408A.5020900@fgznet.ch> |
| Download | mbox | patch |
| Permalink | /patch/217693/ |
| State | New |
| Headers | show |
Comments
Patch
Index: src/powerpc/ffi.c =================================================================== --- src/powerpc/ffi.c (revision 195611) +++ src/powerpc/ffi.c (working copy) @@ -664,9 +664,11 @@ 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. */