mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
venus: Use SYS_thr_self on FreeBSD instead of SYS_gettid
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36953>
This commit is contained in:
parent
2595b029fa
commit
1de30797ae
1 changed files with 2 additions and 0 deletions
|
|
@ -614,6 +614,8 @@ vn_gettid(void)
|
|||
{
|
||||
#if DETECT_OS_ANDROID
|
||||
return gettid();
|
||||
#elif defined(__FreeBSD__)
|
||||
return syscall(SYS_thr_self);
|
||||
#else
|
||||
return syscall(SYS_gettid);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue