pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/nbcompat complement NBBY wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/031308480b50
branches: trunk
changeset: 570047:031308480b50
user: obache <obache%pkgsrc.org@localhost>
date: Sun Jan 24 08:52:01 2010 +0000
description:
complement NBBY with 8 if not defined.
diffstat:
pkgtools/libnbcompat/files/nbcompat/db.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r efe19bd85eda -r 031308480b50 pkgtools/libnbcompat/files/nbcompat/db.h
--- a/pkgtools/libnbcompat/files/nbcompat/db.h Sun Jan 24 00:17:56 2010 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/db.h Sun Jan 24 08:52:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db.h,v 1.1 2008/10/10 00:21:44 joerg Exp $ */
+/* $NetBSD: db.h,v 1.2 2010/01/24 08:52:01 obache Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -214,6 +214,10 @@
#ifdef __DBINTERFACE_PRIVATE
+#ifndef NBBY
+#define NBBY 8
+#endif
+
#define _DBMASK(a) (~((1ULL << (sizeof(a) * NBBY)) - 1))
#define _DBFIT(a, t) _DIAGASSERT(((a) & _DBMASK(t)) == 0)
Home |
Main Index |
Thread Index |
Old Index