25 #define _WIN32_WINNT 0x0502 34 #ifdef NO_PROBABLY_NOT 35 HANDLE stderrHandle = GetStdHandle(STD_ERROR_HANDLE);
36 if (!stderrHandle)
return;
40 CONSOLE_SCREEN_BUFFER_INFO info;
41 GetConsoleScreenBufferInfo(stderrHandle, &info);
43 SetConsoleScreenBufferSize(stderrHandle, info.dwSize);
45 int h = _open_osfhandle((
long)stderrHandle, _O_TEXT);
47 FILE *fd = _fdopen(h,
"w");
50 setvbuf(stderr, NULL, _IONBF, 0);
69 putenv(
"PRINTF_EXPONENT_DIGITS=2");
void svSystemSpecificInitialisation()