aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
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.h
parentc9d59ebc4a2c3566d34759a901be639b5f932e30 (diff)
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r--al/auxeffectslot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h
index 54f1987d..12213df6 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -16,7 +16,7 @@
#include "intrusive_ptr.h"
#include "vector.h"
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#include <memory>
#include "al/effect.h"
@@ -72,7 +72,7 @@ struct ALeffectslot {
DEF_NEWDEL(ALeffectslot)
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
public:
void eax_initialize(
ALCcontext& al_context,
@@ -258,7 +258,7 @@ private:
void UpdateAllEffectSlotProps(ALCcontext *context);
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
class EaxAlEffectSlotDeleter
{
public: