summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/errno.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-16 04:49:08 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-16 04:49:08 +0000
commitf106775df14dbd1af2f1e0d3b1b3c67c167f8ce0 (patch)
treeff8ad77949aae56db49e68538ea3fe7a1914211c /libc/sysdeps/linux/mips/bits/errno.h
parent7166f6c6fed92ab07fbfa66b50816827012eac9d (diff)
Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
-Erik
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/bits/errno.h b/libc/sysdeps/linux/mips/bits/errno.h
index 29ba9807a..ca9c32fed 100644
--- a/libc/sysdeps/linux/mips/bits/errno.h
+++ b/libc/sysdeps/linux/mips/bits/errno.h
@@ -39,7 +39,7 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__));
# define __set_errno(val) (*__errno_location ()) = (val)
# endif /* _LIBC */
-# if !defined _LIBC || defined _LIBC_REENTRANT
+# if !defined _LIBC || defined __UCLIBC_HAS_THREADS__
/* When using threads, errno is a per-thread value. */
# define errno (*__errno_location ())
# endif