| Index: src/platform-win32.cc
|
| diff --git a/src/platform-win32.cc b/src/platform-win32.cc
|
| index 115a6c946efcb088d245a3a76214dcd833e761f2..600320e9de85f4df0d8ece5865edf770018fb4b4 100644
|
| --- a/src/platform-win32.cc
|
| +++ b/src/platform-win32.cc
|
| @@ -539,6 +539,10 @@ char* Time::LocalTimezone() {
|
|
|
|
|
| void OS::SetUp() {
|
| +#ifdef __MINGW32__
|
| + // Set x87 FPU precision to 64-bit to be consistent with MSVC.
|
| + _controlfp(_PC_53, _MCW_PC);
|
| +#endif
|
| // Seed the random number generator.
|
| // Convert the current time to a 64-bit integer first, before converting it
|
| // to an unsigned. Going directly can cause an overflow and the seed to be
|
|
|