aboutsummaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h')
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h b/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
new file mode 100644
index 000000000000..58be8043dc96
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
@@ -0,0 +1,20 @@
+--- Telegram/ThirdParty/libtgvoip/os/linux/PulseAudioLoader.h.orig 2018-02-07 04:46:43 UTC
++++ Telegram/ThirdParty/libtgvoip/os/linux/PulseAudioLoader.h
+@@ -9,6 +9,10 @@
+
+ #include <pulse/pulseaudio.h>
+
++#ifndef typeof
++#define typeof __typeof__
++#endif
++
+ #define DECLARE_DL_FUNCTION(name) static typeof(name)* _import_##name
+
+ namespace tgvoip{
+@@ -106,4 +110,4 @@ private:
+ #define pa_operation_get_state PulseAudioLoader::_import_pa_operation_get_state
+ #endif
+
+-#endif // LIBTGVOIP_PULSEAUDIOLOADER_H
+\ No newline at end of file
++#endif // LIBTGVOIP_PULSEAUDIOLOADER_H