X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Flibffi.c;h=288acd35134bfef10abeced9b5557ea135283a2d;hp=5962b5e7431aedaff1d362aed1b5bae373712e72;hb=c0999079ea85fecba8ab5eec386541fc1ce733b7;hpb=7f77a893007a064d69773bae8caa14bd8ce83637 diff --git a/src/libffi.c b/src/libffi.c index 5962b5e..288acd3 100644 --- a/src/libffi.c +++ b/src/libffi.c @@ -94,6 +94,10 @@ static inline ffi_type *psi_ffi_token_type(token_t t) { return &ffi_type_float; case PSI_T_DOUBLE: return &ffi_type_double; +#ifdef HAVE_LONG_DOUBLE + case PSI_T_LONG_DOUBLE: + return &ffi_type_longdouble; +#endif case PSI_T_POINTER: return &ffi_type_pointer; }