* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Feb 2009 13:16:51 +0000 (13:16 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Feb 2009 13:16:51 +0000 (13:16 +0000)
UTIME_OMIT only with __USE_ATFILE.

ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/bits/stat.h

index c399a48..f6af26a 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
+       UTIME_OMIT only with __USE_ATFILE.
+
 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
index 6b69240..8d18d6d 100644 (file)
@@ -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