diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-02-06 23:40:20 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-02-07 15:27:21 +0300 |
commit | 06d6c024cde24f42d0980725b9e1d50713af646e (patch) | |
tree | aaacdfa9b266c598255789febad11446686e5ee9 /src/sys_win.c | |
parent | 9176271b895c4e71d7e383cb8655a7b545b73b33 (diff) |
Rework the way FPU issues are handled on i386.
Kill Sys_FixFPCW. Instead implement inline macros that wrap around
critical sections of code (pmove and game library calls) and push/pop
FPU control word dynamically.
Diffstat (limited to 'src/sys_win.c')
-rw-r--r-- | src/sys_win.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sys_win.c b/src/sys_win.c index 4ca0a6c..6630dca 100644 --- a/src/sys_win.c +++ b/src/sys_win.c @@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #if USE_WINSVC #include <winsvc.h> #endif -#include <float.h> HINSTANCE hGlobalInstance; @@ -674,12 +673,6 @@ unsigned Sys_Milliseconds( void ) { void Sys_AddDefaultConfig( void ) { } -void Sys_FixFPCW( void ) { -#ifdef __i386__ // FIXME: MSVC? - _controlfp( _PC_24|_RC_NEAR, _MCW_PC|_MCW_RC ); -#endif -} - void Sys_Sleep( int msec ) { Sleep( msec ); } |