From fd54783d90b3b181d079b6af986532fd97175d8f Mon Sep 17 00:00:00 2001 From: ryoon Date: Fri, 11 Dec 2015 23:28:10 +0000 Subject: Fix build under the environment that has no statvfs. Fix my old mistake, logic inversion. --- pkgtools/libnbcompat/files/nbcompat/statvfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/libnbcompat/files/nbcompat/statvfs.h b/pkgtools/libnbcompat/files/nbcompat/statvfs.h index 67f195f9d0f..bdf175f423e 100644 --- a/pkgtools/libnbcompat/files/nbcompat/statvfs.h +++ b/pkgtools/libnbcompat/files/nbcompat/statvfs.h @@ -1,4 +1,4 @@ -/* $NetBSD: statvfs.h,v 1.5 2013/09/08 16:24:43 ryoon Exp $ */ +/* $NetBSD: statvfs.h,v 1.6 2015/12/11 23:28:10 ryoon Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -60,10 +60,10 @@ #define VFS_NAMELEN 32 #define VFS_MNAMELEN 1024 -#if defined(fsblkcnt_t) +#if !defined(fsblkcnt_t) typedef uint64_t fsblkcnt_t; /* fs block count (statvfs) */ #endif -#if defined(fsfilcnt_t) +#if !defined(fsfilcnt_t) typedef uint64_t fsfilcnt_t; /* fs file count */ #endif -- cgit v1.2.3