Don't try to set FE_TOWARDZERO when it's not available
This commit is contained in:
parent
bc6751237c
commit
befa4e7528
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user