File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -160,17 +160,17 @@ void cpp_internal_additions(std::ostream &out)
160160 config.ansi_c .arch == " arm64" &&
161161 config.ansi_c .os != configt::ansi_ct::ost::OS_MACOS)
162162 {
163- code += " typedef struct __va_list {" ;
164- code += " void *__stack;" ;
165- code += " void *__gr_top;" ;
166- code += " void *__vr_top;" ;
167- code += " int __gr_offs;" ;
168- code += " int __vr_offs;" ;
169- code += " } __builtin_va_list;\n " ;
163+ out << " typedef struct __va_list {" ;
164+ out << " void *__stack;" ;
165+ out << " void *__gr_top;" ;
166+ out << " void *__vr_top;" ;
167+ out << " int __gr_offs;" ;
168+ out << " int __vr_offs;" ;
169+ out << " } __builtin_va_list;" << ' \n ' ;
170170 }
171171 else
172172 {
173- code += " typedef void ** __builtin_va_list;\n " ;
173+ out << " typedef void ** __builtin_va_list;" << ' \n ' ;
174174 }
175175 }
176176
You can’t perform that action at this time.
0 commit comments