mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 22:09:49 +00:00
Add c_longdouble mapping for bpf (#7504)
This commit is contained in:
parent
ab6183e119
commit
55b998c98d
@ -8660,6 +8660,10 @@ static void define_builtin_types(CodeGen *g) {
|
||||
case ZigLLVM_msp430:
|
||||
add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);
|
||||
break;
|
||||
case ZigLLVM_bpfel:
|
||||
case ZigLLVM_bpfeb:
|
||||
add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);
|
||||
break;
|
||||
default:
|
||||
zig_panic("TODO implement mapping for c_longdouble");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user