mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Fix build errors with newer glibc versions
This commit is contained in:
parent
12fba36d6e
commit
12097d40a2
2 changed files with 4 additions and 14 deletions
|
|
@ -26,11 +26,7 @@
|
|||
# include <sys/syscall.h>
|
||||
# include <sys/types.h>
|
||||
# include <unistd.h>
|
||||
static pid_t
|
||||
gettid()
|
||||
{
|
||||
return syscall(__NR_gettid);
|
||||
}
|
||||
# define gettid() static_cast<pid_t>(syscall(SYS_gettid))
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue