comparison system/Init.cpp @ 1601:a090221caeda bqaudiostream

Fix incorrect number formatting results for 32-bit MinGW build
author Chris Cannam
date Wed, 30 Jan 2019 11:00:45 +0000
parents 23d3a6eca5c3
children
comparison
equal deleted inserted replaced
1599:ce185d4dd408 1601:a090221caeda
61 redirectStderr(); 61 redirectStderr();
62 62
63 // Remove the CWD from the DLL search path, just in case 63 // Remove the CWD from the DLL search path, just in case
64 SetDllDirectory(L""); 64 SetDllDirectory(L"");
65 putenv("PATH="); 65 putenv("PATH=");
66
67 // Some older versions of MinGW require this in order to get
68 // C99/POSIX-standard behaviour for (s)printf formatting
69 putenv("PRINTF_EXPONENT_DIGITS=2");
66 #else 70 #else
67 #endif 71 #endif
68 } 72 }
69 73
70
71