Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/m4 fix the tools build



details:   https://anonhg.NetBSD.org/src/rev/c2ae8b760c92
branches:  trunk
changeset: 748549:c2ae8b760c92
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 26 21:16:49 2009 +0000

description:
fix the tools build

diffstat:

 usr.bin/m4/gnum4.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 8047a53fc5d8 -r c2ae8b760c92 usr.bin/m4/gnum4.c
--- a/usr.bin/m4/gnum4.c        Mon Oct 26 21:14:18 2009 +0000
+++ b/usr.bin/m4/gnum4.c        Mon Oct 26 21:16:49 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gnum4.c,v 1.6 2009/10/26 21:11:28 christos Exp $ */
+/* $NetBSD: gnum4.c,v 1.7 2009/10/26 21:16:49 christos Exp $ */
 /* $OpenBSD: gnum4.c,v 1.39 2008/08/21 21:01:04 espie Exp $ */
 
 /*
@@ -33,7 +33,7 @@
 #include "nbtool_config.h"
 #endif
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: gnum4.c,v 1.6 2009/10/26 21:11:28 christos Exp $");
+__RCSID("$NetBSD: gnum4.c,v 1.7 2009/10/26 21:16:49 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -54,6 +54,9 @@
 
 
 int mimic_gnu = 0;
+#ifndef SIZE_T_MAX
+#define SIZE_T_MAX (size_t)~0ull
+#endif
 
 /*
  * Support for include path search



Home | Main Index | Thread Index | Old Index