projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
code structure
[m6w6/ext-psi]
/
src
/
libffi.c
diff --git
a/src/libffi.c
b/src/libffi.c
index 5962b5e7431aedaff1d362aed1b5bae373712e72..1f5bf016a8a714add395b3fb7a0de32b801eda43 100644
(file)
--- a/
src/libffi.c
+++ b/
src/libffi.c
@@
-8,6
+8,7
@@
#include "php_psi.h"
#include "libffi.h"
#include "php_psi.h"
#include "libffi.h"
+#include "engine.h"
#undef PACKAGE
#undef PACKAGE_BUGREPORT
#undef PACKAGE
#undef PACKAGE_BUGREPORT
@@
-94,6
+95,10
@@
static inline ffi_type *psi_ffi_token_type(token_t t) {
return &ffi_type_float;
case PSI_T_DOUBLE:
return &ffi_type_double;
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;
}
case PSI_T_POINTER:
return &ffi_type_pointer;
}