diff options
Diffstat (limited to 'src/tools/tqlocale.cpp')
-rw-r--r-- | src/tools/tqlocale.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/tqlocale.cpp b/src/tools/tqlocale.cpp index 77f3cae19..60cfc1bb0 100644 --- a/src/tools/tqlocale.cpp +++ b/src/tools/tqlocale.cpp @@ -5684,7 +5684,6 @@ static char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, cha // Some values of the floating-point control word can cause _qdtoa to crash with an underflow. // We set a safe value here. #ifdef Q_OS_WIN -#ifndef Q_CC_BOR unsigned int oldbits = _control87(0, 0); #ifndef _M_X64 //x64 does not support precition control _control87(0x9001F, 0xFFFFF); @@ -5692,7 +5691,6 @@ static char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, cha _control87(0x9001F, _MCW_DN|_MCW_EM|_MCW_RC); #endif //_M_X64 #endif -#endif #ifdef Q_OS_LINUX fenv_t envp; @@ -5702,7 +5700,6 @@ static char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, cha char *s = _qdtoa(d, mode, ndigits, decpt, sign, rve, resultp); #ifdef Q_OS_WIN -#ifndef Q_CC_BOR _clear87(); #ifndef _M_X64 _control87(oldbits, 0xFFFFF); @@ -5710,7 +5707,6 @@ static char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, cha _control87(oldbits, _MCW_DN|_MCW_EM|_MCW_RC); #endif //_M_X64 #endif -#endif #ifdef Q_OS_LINUX fesetenv(&envp); |