summaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-14 09:57:42 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-14 09:57:42 +0000
commit82496aab644f7acdce3f3a693f3c78723b175124 (patch)
tree8af7cfab391cc287beb7bab09f472bfd14fd7f07 /linuxthreads
parent9869e6ec913e268748f510ab6ec64b8fd62531bc (diff)
2.3.3-68
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/sysdeps/pthread/errno-loc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/pthread/errno-loc.c b/linuxthreads/sysdeps/pthread/errno-loc.c
index d3e49b7211..0a8f0f9076 100644
--- a/linuxthreads/sysdeps/pthread/errno-loc.c
+++ b/linuxthreads/sysdeps/pthread/errno-loc.c
@@ -1,6 +1,6 @@
/* MT support function to get address of `errno' variable, linuxthreads
version.
- Copyright (C) 1996, 1998, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1998, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
#include <linuxthreads/internals.h>
#include <sysdep-cancel.h>
-#if ! USE___THREAD
+#if ! USE___THREAD && !RTLD_PRIVATE_ERRNO
#undef errno
extern int errno;
#endif