From 816bd8ab309dc0fe9afefcc5e3f2c294d3dc60a5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 30 Jan 2022 05:42:44 -0800 Subject: Move ALSOFT_EAX definition to config.h And disable it by default for non-Windows targets --- al/auxeffectslot.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'al/auxeffectslot.h') 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 #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: -- cgit v1.2.3