check for __LP64__ rather than enumerating individual LP64 archs

and forgetting, say, amd64
This commit is contained in:
naddy 2004-05-15 14:54:24 +00:00
parent 85b113ee66
commit 8b735c27b0
2 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-lib_parser_inst_m4,v 1.1 2003/02/03 01:42:50 naddy Exp $
--- lib/parser_inst.m4.orig Mon Feb 3 02:16:00 2003
+++ lib/parser_inst.m4 Mon Feb 3 02:16:28 2003
$OpenBSD: patch-lib_parser_inst_m4,v 1.2 2004/05/15 14:54:24 naddy Exp $
--- lib/parser_inst.m4.orig 1999-10-14 09:26:20.000000000 +0200
+++ lib/parser_inst.m4 2004-05-15 16:42:03.000000000 +0200
@@ -164,7 +164,7 @@ __instantiate(Vector<NamedResourceTable<
__instantiate(Vector<ContentModelAmbiguity>)
__instantiate(Vector<Transition>)
__instantiate(Vector<LeafContentToken*>)
-#if 0
+#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__LP64__)
__instantiate(Vector<size_t>)
#endif
__instantiate(Vector<unsigned int>)

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-lib_parser_inst_m4,v 1.1 2003/02/03 17:02:33 naddy Exp $
--- lib/parser_inst.m4.orig Mon Feb 3 16:49:27 2003
+++ lib/parser_inst.m4 Mon Feb 3 16:49:54 2003
$OpenBSD: patch-lib_parser_inst_m4,v 1.2 2004/05/15 14:54:24 naddy Exp $
--- lib/parser_inst.m4.orig 1999-10-14 09:26:20.000000000 +0200
+++ lib/parser_inst.m4 2004-05-15 16:48:34.000000000 +0200
@@ -164,7 +164,7 @@ __instantiate(Vector<NamedResourceTable<
__instantiate(Vector<ContentModelAmbiguity>)
__instantiate(Vector<Transition>)
__instantiate(Vector<LeafContentToken*>)
-#if 0
+#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__LP64__)
__instantiate(Vector<size_t>)
#endif
__instantiate(Vector<unsigned int>)