aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-01-30 05:42:44 -0800
committerChris Robinson <[email protected]>2022-01-30 05:42:44 -0800
commit816bd8ab309dc0fe9afefcc5e3f2c294d3dc60a5 (patch)
tree75cf4b9c90bb3aa8d461b6a7dc417329bd2175d3 /al/auxeffectslot.cpp
parentc9d59ebc4a2c3566d34759a901be639b5f932e30 (diff)
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r--al/auxeffectslot.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp
index 40949aa3..4382553e 100644
--- a/al/auxeffectslot.cpp
+++ b/al/auxeffectslot.cpp
@@ -50,7 +50,7 @@
#include "effect.h"
#include "opthelpers.h"
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#include "eax_exception.h"
#include "eax_utils.h"
#endif // ALSOFT_EAX
@@ -1047,10 +1047,8 @@ EffectSlotSubList::~EffectSlotSubList()
EffectSlots = nullptr;
}
-#if ALSOFT_EAX
-namespace
-{
-
+#ifdef ALSOFT_EAX
+namespace {
class EaxFxSlotException :
public EaxException