about summary refs log tree commit diff
path: root/sysdeps/generic
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 /sysdeps/generic
parent9869e6ec913e268748f510ab6ec64b8fd62531bc (diff)
downloadglibc-82496aab644f7acdce3f3a693f3c78723b175124.tar.gz
glibc-82496aab644f7acdce3f3a693f3c78723b175124.tar.xz
glibc-82496aab644f7acdce3f3a693f3c78723b175124.zip
2.3.3-68
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/errno-loc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/errno-loc.c b/sysdeps/generic/errno-loc.c
index fd16103b11..633590f4f9 100644
--- a/sysdeps/generic/errno-loc.c
+++ b/sysdeps/generic/errno-loc.c
@@ -1,6 +1,6 @@
 /* MT support function to get address of `errno' variable, non-threaded
    version.
-   Copyright (C) 1996, 1998, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1998, 2002, 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
@@ -21,7 +21,7 @@
 #include <errno.h>
 #include <tls.h>
 
-#if ! USE___THREAD
+#if ! USE___THREAD && !RTLD_PRIVATE_ERRNO
 #undef errno
 extern int errno;
 #endif