diff --git a/Source/Core/AudioCommon/OpenALStream.h b/Source/Core/AudioCommon/OpenALStream.h index 5c8488a469..a8fbd8a1f2 100644 --- a/Source/Core/AudioCommon/OpenALStream.h +++ b/Source/Core/AudioCommon/OpenALStream.h @@ -26,9 +26,18 @@ #include #endif +#ifdef __APPLE__ +// Avoid conflict with objc.h (on Windows, ST uses the system BOOL type, so this doesn't work) +#define BOOL SoundTouch_BOOL +#endif + #include #include +#ifdef __APPLE__ +#undef BOOL +#endif + // 16 bit Stereo #define SFX_MAX_SOURCE 1 #define OAL_MAX_BUFFERS 32