mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-20 14:15:31 +00:00
Fix #745
This commit is contained in:
parent
d72098bdf8
commit
f06e04ffc5
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@ set_thread_name(const char *name) {
|
|||
#if defined(__APPLE__)
|
||||
ret = pthread_setname_np(name);
|
||||
#elif defined(__FreeBSD__)
|
||||
ret = pthread_set_name_np(pthread_self(), name);
|
||||
pthread_set_name_np(pthread_self(), name);
|
||||
ret = 0;
|
||||
#else
|
||||
ret = pthread_setname_np(pthread_self(), name);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue