diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-05 12:25:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-05 12:25:42 +0000 |
commit | 0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5 (patch) | |
tree | ab5d5b8a656112df06349e544c00138f12a88246 /libio/stdio.h | |
parent | c90c5d4106a2903a40cc3213f8d172e5c6c7ffd6 (diff) | |
download | glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.zip glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.gz glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.bz2 |
* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
it or _GNU_SOURCE is defined.
* io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
[__USE_GNU].
* libio/stdio.h: Likewise.
* posix/unistd.h: Likewise.
* time/sys/time.h: Likewise.
Diffstat (limited to 'libio/stdio.h')
-rw-r--r-- | libio/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/stdio.h b/libio/stdio.h index 0ea052b..baba806 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -1,5 +1,5 @@ /* Define ISO C stdio on top of C++ iostreams. - Copyright (C) 1991,1994-2004, 2005 Free Software Foundation, Inc. + Copyright (C) 1991,1994-2004,2005,2006 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 @@ -154,7 +154,7 @@ extern int remove (__const char *__filename) __THROW; extern int rename (__const char *__old, __const char *__new) __THROW; __END_NAMESPACE_STD -#ifdef __USE_GNU +#ifdef __USE_ATFILE /* Rename file OLD relative to OLDFD to NEW relative to NEWFD. */ extern int renameat (int __oldfd, __const char *__old, int __newfd, __const char *__new) __THROW; |