mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
Fix #745
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user