size_t != unsigned int now

This commit is contained in:
espie 2006-01-14 15:56:32 +00:00
parent c673108eca
commit 5aa4b2d2ec
2 changed files with 7 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2005/09/06 22:47:35 espie Exp $
# $OpenBSD: Makefile,v 1.18 2006/01/14 15:56:32 espie Exp $
COMMENT= "object-oriented SGML/XML parser toolkit and DSSSL engine"
DISTNAME= openjade-1.3
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}

View File

@ -1,14 +1,13 @@
$OpenBSD: patch-lib_parser_inst_m4,v 1.2 2004/03/12 09:45:50 brad Exp $
--- lib/parser_inst.m4.orig 1999-08-20 03:05:33.000000000 -0400
+++ lib/parser_inst.m4 2004-03-12 04:13:04.000000000 -0500
@@ -166,10 +166,9 @@ __instantiate(Vector<Transition>)
$OpenBSD: patch-lib_parser_inst_m4,v 1.3 2006/01/14 15:56:33 espie Exp $
--- lib/parser_inst.m4.orig Fri Aug 20 09:05:33 1999
+++ lib/parser_inst.m4 Sat Jan 14 16:55:51 2006
@@ -166,10 +166,7 @@ __instantiate(Vector<Transition>)
__instantiate(Vector<LeafContentToken*>)
__instantiate(Vector<size_t>)
// we really just want to test if size_t == unsigned int
-#if !defined(SIZEOF_SIZE_T) || !defined(SIZEOF_UNSIGNED_INT) || (SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT)
+#if defined(__LP64__)
__instantiate(Vector<unsigned int>)
#endif
-#endif
-
__instantiate(NamedTable<Id>)
__instantiate(NamedTableIter<Id>)