1
Description: Fix builds on architectures without _FPU_EXTENDED
2
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3
Forwarded: http://opensource.creative.com/pipermail/openal-devel/2012-May/005900.html
5
--- a/OpenAL32/Include/alu.h
6
+++ b/OpenAL32/Include/alu.h
8
return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
11
+#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
12
+ #ifndef _FPU_EXTENDED
13
+ #define _FPU_EXTENDED 0
16
+ #define _FPU_DOUBLE 0
19
+ #define _FPU_SINGLE 0
21
+ #ifndef _FPU_RC_NEAREST
22
+ #define _FPU_RC_NEAREST 0
24
+ #ifndef _FPU_RC_DOWN
25
+ #define _FPU_RC_DOWN 0
28
+ #define _FPU_RC_UP 0
30
+ #ifndef _FPU_RC_ZERO
31
+ #define _FPU_RC_ZERO 0
35
static __inline int SetMixerFPUMode(void)