Don't try to set FE_TOWARDZERO when it's not available

This commit is contained in:
Chris Robinson 2012-06-28 18:27:45 -07:00
parent bc6751237c
commit befa4e7528

View File

@ -245,8 +245,10 @@ static __inline int SetMixerFPUMode(void)
(void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
#elif defined(HAVE_FESETROUND)
fpuState = fegetround();
#ifdef FE_TOWARDZERO
fesetround(FE_TOWARDZERO);
#endif
#endif
#endif
return fpuState;
}