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 Avoid conflicting ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c632464e7ff
branches: trunk
changeset: 572569:8c632464e7ff
user: obache <obache%pkgsrc.org@localhost>
date: Wed Mar 03 06:03:45 2010 +0000
description:
Avoid conflicting types for `pgno_t', treat same as db_185.h in db[234].
IRIX have it in sys/types.h as reported by PR42841.
diffstat:
pkgtools/libnbcompat/files/nbcompat/db.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 9ad3b3671671 -r 8c632464e7ff pkgtools/libnbcompat/files/nbcompat/db.h
--- a/pkgtools/libnbcompat/files/nbcompat/db.h Wed Mar 03 03:41:38 2010 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/db.h Wed Mar 03 06:03:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db.h,v 1.2 2010/01/24 08:52:01 obache Exp $ */
+/* $NetBSD: db.h,v 1.3 2010/03/03 06:03:45 obache Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -43,6 +43,14 @@
#define RET_SUCCESS 0
#define RET_SPECIAL 1
+/*
+ * XXX
+ * SGI/IRIX already has a pgno_t.
+*/
+#ifdef __sgi
+#define pgno_t db_pgno_t
+#endif
+
#define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */
typedef uint32_t pgno_t;
#define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */
Home |
Main Index |
Thread Index |
Old Index