summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/openat.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-08-22 09:05:41 +0000
committerJakub Jelinek <jakub@redhat.com>2006-08-22 09:05:41 +0000
commit4728cb644861ff8c58586702bf6815c50a1c0dd2 (patch)
tree305ac8dc2d7c6eaf501ebe90d90cc174c8ae7e25 /sysdeps/unix/sysv/linux/openat.c
parentab3017a58b517cb20feb6e6688b9cb1948c00156 (diff)
Updated to fedora-glibc-20060822T0706cvs/fedora-glibc-2_4_90-23
Diffstat (limited to 'sysdeps/unix/sysv/linux/openat.c')
-rw-r--r--sysdeps/unix/sysv/linux/openat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/openat.c b/sysdeps/unix/sysv/linux/openat.c
index 7dfe367425..df53b6cf2c 100644
--- a/sysdeps/unix/sysv/linux/openat.c
+++ b/sysdeps/unix/sysv/linux/openat.c
@@ -28,9 +28,10 @@
#include <not-cancel.h>
-#if !defined OPENAT && !defined __ASSUME_ATFCTS
+#ifndef OPENAT
# define OPENAT openat
+# ifndef __ASSUME_ATFCTS
/* Set errno after a failed call. If BUF is not null,
it is a /proc/self/fd/ path name we just tried to use. */
void
@@ -61,6 +62,7 @@ __atfct_seterrno (int errval, int fd, const char *buf)
}
int __have_atfcts;
+# endif
#endif