From a9a2380cf01cdae519fdaf8ab021d486c8917e43 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 10 Nov 2016 02:26:09 +0100 Subject: nptl: add pthread_getname_np/pthread_setname_np from GNU libc These functions are used by firefox for example. Tested with running firefox on x86 system. --- libc/sysdeps/linux/common/not-cancel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/not-cancel.h b/libc/sysdeps/linux/common/not-cancel.h index 08c544b56..9d1588494 100644 --- a/libc/sysdeps/linux/common/not-cancel.h +++ b/libc/sysdeps/linux/common/not-cancel.h @@ -70,7 +70,7 @@ extern int __openat64_nocancel (int fd, const char *fname, int oflag, #define read_not_cancel(fd, buf, n) \ INLINE_SYSCALL (read, 3, (fd), (buf), (n)) -#ifdef __UCLIBC_HAS_LINUXTHREADS__ +#ifdef __UCLIBC_HAS_THREADS__ /* Uncancelable write. */ #define write_not_cancel(fd, buf, n) \ INLINE_SYSCALL (write, 3, (fd), (buf), (n)) -- cgit v1.2.3