aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp7
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