Check for __LP64__ instead of __alpha__/__sparc64__.

ok pvalchev@
This commit is contained in:
brad 2004-03-12 09:45:50 +00:00
parent e24b084b33
commit f972d79ae5

View File

@ -1,13 +1,12 @@
$OpenBSD: patch-lib_parser_inst_m4,v 1.1 2002/07/28 06:59:49 brad Exp $
--- lib/parser_inst.m4.orig Fri Aug 20 03:05:33 1999
+++ lib/parser_inst.m4 Sun Jul 28 02:59:43 2002
@@ -166,10 +166,10 @@ __instantiate(Vector<Transition>)
$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>)
__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(__alpha__) || defined(__sparc64__)
+ // #if !defined(SIZEOF_SIZE_T) || !defined(SIZEOF_UNSIGNED_INT) || (SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT)
+#if defined(__LP64__)
__instantiate(Vector<unsigned int>)
#endif
-