mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
Add long double test (#492)
Required to fix build error on macos with gcc-9
This commit is contained in:
@@ -451,9 +451,11 @@ ffi_prep_cif_machdep (ffi_cif *cif)
|
||||
case FFI_TYPE_DOUBLE:
|
||||
flags = UNIX64_RET_XMM64;
|
||||
break;
|
||||
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
|
||||
case FFI_TYPE_LONGDOUBLE:
|
||||
flags = UNIX64_RET_X87;
|
||||
break;
|
||||
#endif
|
||||
case FFI_TYPE_STRUCT:
|
||||
n = examine_argument (cif->rtype, classes, 1, &ngpr, &nsse);
|
||||
if (n == 0)
|
||||
|
||||
Reference in New Issue
Block a user