aboutsummaryrefslogtreecommitdiff
path: root/devel/godot/files/patch-drivers_rtaudio_RtAudio.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/godot/files/patch-drivers_rtaudio_RtAudio.h')
-rw-r--r--devel/godot/files/patch-drivers_rtaudio_RtAudio.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/godot/files/patch-drivers_rtaudio_RtAudio.h b/devel/godot/files/patch-drivers_rtaudio_RtAudio.h
new file mode 100644
index 000000000000..5eb1b84d069b
--- /dev/null
+++ b/devel/godot/files/patch-drivers_rtaudio_RtAudio.h
@@ -0,0 +1,16 @@
+--- drivers/rtaudio/RtAudio.h.orig 2016-08-09 07:52:15 UTC
++++ drivers/rtaudio/RtAudio.h
+@@ -5,7 +5,13 @@
+ #if defined(OSX_ENABLED)
+ #define __MACOSX_CORE__
+ #elif defined(UNIX_ENABLED)
++#if defined(OSS_ENABLED)
++ #define __LINUX_OSS__
++#elif defined(ALSA_ENABLED)
+ #define __LINUX_ALSA__
++#elif defined(PULSEAUDIO_ENABLED)
++ #define __LINUX_PULSE__
++#endif
+ #elif defined(WINDOWS_ENABLED)
+ #if defined(WINRT_ENABLED)
+ #define __RTAUDIO_DUMMY__