MEGAsync: fix patch
This commit is contained in:
parent
ae1afca7a8
commit
53dc728c08
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
#define PR_SET_PTRACER 0x59616d61
|
#define PR_SET_PTRACER 0x59616d61
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
+#if defined(__GLIBC__) && __GLIBC__ < 2 && __GLIBC_MINOR__ < 30
|
+#if defined(__GLIBC__) && !__GLIBC_PREREQ(2, 30)
|
||||||
// A wrapper for the tgkill syscall: send a signal to a specific thread.
|
// A wrapper for the tgkill syscall: send a signal to a specific thread.
|
||||||
static int tgkill(pid_t tgid, pid_t tid, int sig) {
|
static int tgkill(pid_t tgid, pid_t tid, int sig) {
|
||||||
return syscall(__NR_tgkill, tgid, tid, sig);
|
return syscall(__NR_tgkill, tgid, tid, sig);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue