MEGAsync: fix patch

This commit is contained in:
John 2019-09-15 23:15:21 +03:00
parent ae1afca7a8
commit 53dc728c08

View file

@ -4,7 +4,7 @@
#define PR_SET_PTRACER 0x59616d61
#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.
static int tgkill(pid_t tgid, pid_t tid, int sig) {
return syscall(__NR_tgkill, tgid, tid, sig);