diff options
author | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
commit | 816bd8ab309dc0fe9afefcc5e3f2c294d3dc60a5 (patch) | |
tree | 75cf4b9c90bb3aa8d461b6a7dc417329bd2175d3 /al/effect.cpp | |
parent | c9d59ebc4a2c3566d34759a901be639b5f932e30 (diff) |
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/effect.cpp')
-rw-r--r-- | al/effect.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/al/effect.cpp b/al/effect.cpp index 79cd7fab..e4fe95b3 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -51,7 +51,7 @@ #include "opthelpers.h" #include "vector.h" -#if ALSOFT_EAX +#ifdef ALSOFT_EAX #include <cassert> #include "eax_exception.h" @@ -751,9 +751,8 @@ void LoadReverbPreset(const char *name, ALeffect *effect) WARN("Reverb preset '%s' not found\n", name); } -#if ALSOFT_EAX -namespace -{ +#ifdef ALSOFT_EAX +namespace { class EaxAlEffectException : public EaxException |