mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix name conflict between SoundTouch BOOL and ObjC BOOL.
This commit is contained in:
parent
9cbf353755
commit
aae234c5d7
@ -26,9 +26,18 @@
|
|||||||
#include <AL/alext.h>
|
#include <AL/alext.h>
|
||||||
#endif
|
#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 <soundtouch/SoundTouch.h>
|
#include <soundtouch/SoundTouch.h>
|
||||||
#include <soundtouch/STTypes.h>
|
#include <soundtouch/STTypes.h>
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#undef BOOL
|
||||||
|
#endif
|
||||||
|
|
||||||
// 16 bit Stereo
|
// 16 bit Stereo
|
||||||
#define SFX_MAX_SOURCE 1
|
#define SFX_MAX_SOURCE 1
|
||||||
#define OAL_MAX_BUFFERS 32
|
#define OAL_MAX_BUFFERS 32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user