diff options
author | Chris Robinson <[email protected]> | 2009-05-16 23:26:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-05-16 23:26:39 -0700 |
commit | 7e8501123a092a19b8153f7fdeecef2e0c5f0aa2 (patch) | |
tree | da5bd197753be2b257fa263707d144844622e707 /Alc/alcReverb.c | |
parent | c447eeb2c77d91d11750270aaed36a2354069095 (diff) |
Set some common macros in alu.h
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index 91e60a8c..0516ab4f 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -29,24 +29,7 @@ #include "alAuxEffectSlot.h" #include "alEffect.h" #include "alReverb.h" - -#ifdef HAVE_SQRTF -#define aluSqrt(x) ((ALfloat)sqrtf((float)(x))) -#else -#define aluSqrt(x) ((ALfloat)sqrt((double)(x))) -#endif - -// fixes for mingw32. -#if defined(max) && !defined(__max) -#define __max max -#endif -#if defined(min) && !defined(__min) -#define __min min -#endif - -#ifndef M_PI -#define M_PI 3.14159265358979323846 /* pi */ -#endif +#include "alu.h" typedef struct DelayLine { |