aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.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/state.cpp
parentc9d59ebc4a2c3566d34759a901be639b5f932e30 (diff)
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/state.cpp')
-rw-r--r--al/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/al/state.cpp b/al/state.cpp
index 0ec0e280..bd62c4e3 100644
--- a/al/state.cpp
+++ b/al/state.cpp
@@ -46,7 +46,7 @@
#include "opthelpers.h"
#include "strutils.h"
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#include "alc/device.h"
#include "eax_globals.h"
@@ -434,7 +434,7 @@ START_API_FUNC
value = static_cast<int>(ResamplerDefault);
break;
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#define EAX_ERROR "[alGetInteger] EAX not enabled."