[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

@ -17,11 +17,11 @@ _CRT_LINKER_FORCE_INCLUDE(__acrt_tmpfile_terminator);
// These definitions will cause this object to be linked in whenever the
// termination code requires it.
#ifndef CRTDLL
extern "C" unsigned __acrt_tmpfile_used = 1;
extern "C" { unsigned __acrt_tmpfile_used = 1; }
#endif
extern "C" unsigned _tempoff = 1;
extern "C" unsigned _old_pfxlen = 0;
extern "C" { unsigned _tempoff = 1; }
extern "C" { unsigned _old_pfxlen = 0; }