- It's good if I make sure my changes are actually compiled in, huh?

SVN r1119 (trunk)
This commit is contained in:
Randy Heit 2008-08-06 18:41:55 +00:00
parent efb8ffc459
commit d7d07aad16

View file

@ -33,7 +33,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
#ifdef HAVE_CPU_CONTROL #ifdef HAVE_FPU_CONTROL
#include <fpu_control.h> #include <fpu_control.h>
#endif #endif
#include <float.h> #include <float.h>
@ -2081,7 +2081,8 @@ void D_DoomMain (void)
{ {
int cw; int cw;
_FPU_GETCW(cw); _FPU_GETCW(cw);
_FPU_SETCW((cw & ~_FPU_EXTENDED) | _FPU_DOUBLE); cw = (cw & ~_FPU_EXTENDED) | _FPU_DOUBLE;
_FPU_SETCW(cw);
} }
#elif defined(_PC_53) #elif defined(_PC_53)
_control87(_PC_53, _MCW_PC); _control87(_PC_53, _MCW_PC);