projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix build with long double
[m6w6/ext-psi]
/
src
/
libjit.c
diff --git
a/src/libjit.c
b/src/libjit.c
index dd843949cd90afc92c9bc3ca8ee721dedae7fc63..7b0a49a5cadd6748edd886ba5345570c9d292ddf 100644
(file)
--- a/
src/libjit.c
+++ b/
src/libjit.c
@@
-50,6
+50,10
@@
static inline jit_type_t psi_jit_token_type(token_t t) {
return jit_type_sys_float;
case PSI_T_DOUBLE:
return jit_type_sys_double;
return jit_type_sys_float;
case PSI_T_DOUBLE:
return jit_type_sys_double;
+#ifdef HAVE_LONG_DOUBLE
+ case PSI_T_LONG_DOUBLE:
+ return jit_type_sys_long_double;
+#endif
case PSI_T_POINTER:
return jit_type_void_ptr;
}
case PSI_T_POINTER:
return jit_type_void_ptr;
}