From 0b8f25bbca8a9d08f0bdae0772fa5ec5172144b5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 Jan 2006 12:25:42 +0000 Subject: * 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. --- time/sys/time.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'time') diff --git a/time/sys/time.h b/time/sys/time.h index 96649ff..177696b 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. */ -- cgit v1.1