From 9dcb49b6258c355c0d3a3951191f3f7973d64858 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 27 Feb 2009 13:16:51 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. --- ChangeLog.m68k | 5 +++++ sysdeps/unix/sysv/linux/m68k/bits/stat.h | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog.m68k b/ChangeLog.m68k index c399a48686..f6af26a662 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,8 @@ +2009-02-26 Joseph Myers + + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and + UTIME_OMIT only with __USE_ATFILE. + 2008-08-10 Joseph Myers * sysdeps/m68k/bits/byteswap.h: Allow inclusion from . diff --git a/sysdeps/unix/sysv/linux/m68k/bits/stat.h b/sysdeps/unix/sysv/linux/m68k/bits/stat.h index 6b6924037b..8d18d6deee 100644 --- a/sysdeps/unix/sysv/linux/m68k/bits/stat.h +++ b/sysdeps/unix/sysv/linux/m68k/bits/stat.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,95,96,97,98,99,2000,2001,2002,2008 +/* Copyright (C) 1992,95,96,97,98,99,2000,2001,2002,2008,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -163,8 +163,7 @@ struct stat64 #define __S_IWRITE 0200 /* Write by owner. */ #define __S_IEXEC 0100 /* Execute by owner. */ -#if defined __USE_ATFILE || defined __USE_GNU -/* XXX This will change to the macro for the next 2008 POSIX revision. */ +#ifdef __USE_ATFILE # define UTIME_NOW ((1l << 30) - 1l) # define UTIME_OMIT ((1l << 30) - 2l) #endif