Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/postfix/src/util Use statvfs on NetBSD > 2.0
details: https://anonhg.NetBSD.org/src/rev/6427da0e762e
branches: trunk
changeset: 567066:6427da0e762e
user: heas <heas%NetBSD.org@localhost>
date: Mon May 31 00:51:19 2004 +0000
description:
Use statvfs on NetBSD > 2.0
diffstat:
gnu/dist/postfix/src/util/sys_defs.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (26 lines):
diff -r ce07ee8b5cde -r 6427da0e762e gnu/dist/postfix/src/util/sys_defs.h
--- a/gnu/dist/postfix/src/util/sys_defs.h Mon May 31 00:46:46 2004 +0000
+++ b/gnu/dist/postfix/src/util/sys_defs.h Mon May 31 00:51:19 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_defs.h,v 1.11 2004/05/31 00:46:48 heas Exp $ */
+/* $NetBSD: sys_defs.h,v 1.12 2004/05/31 00:51:19 heas Exp $ */
#ifndef _SYS_DEFS_H_INCLUDED_
#define _SYS_DEFS_H_INCLUDED_
@@ -52,12 +52,12 @@
#endif
#define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
#define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
-#if __NetBSD_Version__ < 200040000
+#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200000000)
+#define USE_STATVFS
+#define STATVFS_IN_SYS_STATVFS_H
+#else
#define USE_STATFS
#define STATFS_IN_SYS_MOUNT_H
-#else
-#define USE_STATVFS
-#define STATVFS_IN_SYS_STATVFS_H
#endif
#define HAS_POSIX_REGEXP
#define HAS_ST_GEN /* struct stat contains inode generation number */
Home |
Main Index |
Thread Index |
Old Index