[Glibc-bsd-commits] r2887 - trunk/glibc-ports/kfreebsd/bits
Petr Salinger
ps-guest at alioth.debian.org
Mon Dec 7 08:25:49 UTC 2009
Author: ps-guest
Date: 2009-12-07 08:25:46 +0000 (Mon, 07 Dec 2009)
New Revision: 2887
Modified:
trunk/glibc-ports/kfreebsd/bits/stat.h
Log:
Use struct timespec for timestamps also if __USE_XOPEN2K8
Modified: trunk/glibc-ports/kfreebsd/bits/stat.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/stat.h 2009-12-06 16:26:01 UTC (rev 2886)
+++ trunk/glibc-ports/kfreebsd/bits/stat.h 2009-12-07 08:25:46 UTC (rev 2887)
@@ -51,7 +51,7 @@
__dev_t st_rdev; /* Device number, if device. */
-#ifdef __USE_MISC
+#if defined __USE_MISC || defined __USE_XOPEN2K8
/* Nanosecond resolution timestamps are stored in a format
equivalent to 'struct timespec'. This is the type used
whenever possible but the Unix namespace rules do not allow the
@@ -101,7 +101,7 @@
__dev_t st_rdev; /* Device number, if device. */
-#ifdef __USE_MISC
+#if defined __USE_MISC || defined __USE_XOPEN2K8
/* Nanosecond resolution timestamps are stored in a format
equivalent to 'struct timespec'. This is the type used
whenever possible but the Unix namespace rules do not allow the
More information about the Glibc-bsd-commits
mailing list