[UCRT] Fix non-standard extern "C" usage

This commit is contained in:
Timo Kreuzer 2024-10-13 10:05:04 +02:00
parent 9ed5151de9
commit ffd69754f9
27 changed files with 104 additions and 102 deletions

View file

@ -23,8 +23,8 @@
// Buffer pointers for stdout and stderr
extern "C" void* __acrt_stdout_buffer = nullptr;
extern "C" void* __acrt_stderr_buffer = nullptr;
extern "C" { void* __acrt_stdout_buffer = nullptr; }
extern "C" { void* __acrt_stderr_buffer = nullptr; }
// The temporary buffer has the data of one stdio call. Stderr and Stdout use a
// temporary buffer for the duration of stdio output calls instead of having a