about summary refs log tree commit diff
path: root/time/sys
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-05 12:25:42 +0000
committerRoland McGrath <roland@gnu.org>2006-01-05 12:25:42 +0000
commit0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5 (patch)
treeab5d5b8a656112df06349e544c00138f12a88246 /time/sys
parentc90c5d4106a2903a40cc3213f8d172e5c6c7ffd6 (diff)
downloadglibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.gz
glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.tar.xz
glibc-0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5.zip
* 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 'time/sys')
-rw-r--r--time/sys/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/time/sys/time.h b/time/sys/time.h
index 96649ffa45..177696b08a 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991-1994,1996-2002,2003,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1994,1996-2002,2003,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
@@ -148,7 +149,7 @@ extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
 extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW;
 #endif
 
-#ifdef __USE_GNU
+#ifdef __USE_ATFILE
 /* Change the access time of FILE relative to FD to TVP[0] and the
    modification time of FILE to TVP[1].  If TVP is a null pointer, use
    the current time instead.  Returns 0 on success, -1 on errors.  */