From da62f5052890054daa11603eb9bd2522cae8a3df Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 23 Sep 2011 22:44:34 -0700 Subject: Check for asinf and use it --- OpenAL32/Include/alu.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index a62ca1c5..f041ffc5 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -52,6 +52,12 @@ #define aluAcos(x) ((ALfloat)acos((double)(x))) #endif +#ifdef HAVE_ASINF +#define aluAsin(x) (asinf((x))) +#else +#define aluAsin(x) ((ALfloat)asin((double)(x))) +#endif + #ifdef HAVE_ATANF #define aluAtan(x) (atanf((x))) #else -- cgit v1.2.3