Differential D13434 Diff 36441 net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_threading.h
Changeset View
Changeset View
Standalone View
Standalone View
net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_threading.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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 |