summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-10 02:26:09 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-10 02:26:09 +0100
commita9a2380cf01cdae519fdaf8ab021d486c8917e43 (patch)
tree09c2d148b17bf7b6fcdb2d32be7d763db5b25c2a /libc
parentb8fcdddcbb192fc367ff04bbd753b9deb69b09f3 (diff)
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.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/not-cancel.h2
1 files changed, 1 insertions, 1 deletions
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))