diff options
author | Chris Robinson <[email protected]> | 2012-06-28 18:27:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-06-28 18:27:45 -0700 |
commit | befa4e7528f5ca1f54481bf137706de0239e98eb (patch) | |
tree | ee50a18f8a1a74d647e2ab5de41084979daee1ae /OpenAL32/Include/alu.h | |
parent | bc6751237c7cdd0277bd0dc864a207f200258201 (diff) |
Don't try to set FE_TOWARDZERO when it's not available
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
1 files changed, 2 insertions, 0 deletions
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,9 +245,11 @@ 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; } |