ports/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_threading.h
Yuri Victorovich 857f98b9e4 New port: net-im/telegram-desktop: Telegram Desktop messaging app
PR:		224193
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13434
2017-12-18 23:35:45 +00:00

11 lines
495 B
C

--- Telegram/ThirdParty/libtgvoip/threading.h.orig 2017-07-06 17:16:18 UTC
+++ Telegram/ThirdParty/libtgvoip/threading.h
@@ -20,7 +20,7 @@ typedef pthread_cond_t tgvoip_lock_t;
#define start_thread(ref, entry, arg) pthread_create(&ref, NULL, entry, arg)
#define join_thread(thread) pthread_join(thread, NULL)
#ifndef __APPLE__
-#define set_thread_name(thread, name) pthread_setname_np(thread, name)
+#define set_thread_name(thread, name)
#else
#define set_thread_name(thread, name)
#endif