From befa4e7528f5ca1f54481bf137706de0239e98eb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 28 Jun 2012 18:27:45 -0700 Subject: Don't try to set FE_TOWARDZERO when it's not available --- OpenAL32/Include/alu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 401e3e95..9efee100 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -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; } -- cgit v1.2.3