From 69e1261df646edf24612d7f953dac81182e7461b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 28 Oct 2024 13:39:23 +0900 Subject: Drop Borland compiler specific code Signed-off-by: Michele Calgaro --- src/tools/tqlocale.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tools/tqlocale.cpp') 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); -- cgit v1.2.1