diff options
author | schwarz <schwarz> | 2005-11-30 21:07:14 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2005-11-30 21:07:14 +0000 |
commit | 68c9d02a901b89ff5103b781a931d62cf6b08e64 (patch) | |
tree | 9a8c4a186be8682c1827c8d512e7ae93b09b3d20 /textproc | |
parent | 0d971b471dda86a7291a030f0381293c11ebc90c (diff) | |
download | pkgsrc-68c9d02a901b89ff5103b781a931d62cf6b08e64.tar.gz |
added auxillary definition for systems that do not define _POSIX2_LINE_MAX
(such as IRIX 5). Change approved by jschauma.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/nbsed/files/compile.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/nbsed/files/compile.c b/textproc/nbsed/files/compile.c index 84843905b6c..042301842f5 100644 --- a/textproc/nbsed/files/compile.c +++ b/textproc/nbsed/files/compile.c @@ -1,4 +1,4 @@ -/* $NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $ */ +/* $NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -78,7 +78,7 @@ #if 0 static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $"); +__RCSID("$NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $"); #endif #endif /* not lint */ @@ -117,6 +117,10 @@ __RCSID("$NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $"); #include "defs.h" #include "extern.h" +#ifndef _POSIX2_LINE_MAX +#define _POSIX2_LINE_MAX 2048 +#endif + #define LHSZ 128 #define LHMASK (LHSZ - 1) static struct labhash { |