cgen: format cgen.init() generated c codes (#14824)
parent
3fb88500a2
commit
e6c3de2f46
|
@ -657,10 +657,10 @@ pub fn (mut g Gen) init() {
|
|||
g.cheaders.writeln('#include <stddef.h>')
|
||||
} else {
|
||||
tcc_undef_has_include := '
|
||||
#if defined(__TINYC__) && defined(__has_include)
|
||||
// tcc does not support has_include properly yet, turn it off completely
|
||||
#undef __has_include
|
||||
#endif'
|
||||
#if defined(__TINYC__) && defined(__has_include)
|
||||
// tcc does not support has_include properly yet, turn it off completely
|
||||
#undef __has_include
|
||||
#endif'
|
||||
g.cheaders.writeln(tcc_undef_has_include)
|
||||
g.includes.writeln(tcc_undef_has_include)
|
||||
if g.pref.os == .freebsd {
|
||||
|
|
Loading…
Reference in New Issue