UI: fix build on older FreeBSD versions
Include pthread_np.h header and use pthread_set_name_np to fix build on FreeBSD 12.1. The Linux-compatible pthread_setname_np alias was added later.
Showing
想要评论请 注册 或 登录
Include pthread_np.h header and use pthread_set_name_np to fix build on FreeBSD 12.1. The Linux-compatible pthread_setname_np alias was added later.