From 0c67318ce2754ab6760e57e7325bd97381f34acc Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 11 Jul 1998 06:02:44 +0000 Subject: [PATCH] provide TMP_MAX like stdio.h; kleink --- src/include/limits.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/include/limits.h b/src/include/limits.h index c2d7f25f..f9998eb7 100644 --- a/src/include/limits.h +++ b/src/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.4 1997/09/21 10:45:39 niklas Exp $ */ +/* $OpenBSD: limits.h,v 1.5 1998/07/11 06:02:44 deraadt Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* @@ -62,9 +62,8 @@ #define _POSIX2_EXPR_NEST_MAX 32 #define _POSIX2_LINE_MAX 2048 #define _POSIX2_RE_DUP_MAX 255 -#endif /* !_ANSI_SOURCE */ -#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE) +#if !defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) #define PASS_MAX 128 #define NL_ARGMAX 9 @@ -73,7 +72,11 @@ #define NL_NMAX 1 #define NL_SETMAX 255 #define NL_TEXTMAX 255 -#endif + +#define TMP_MAX 308915776 +#endif /* !_POSIX_C_SOURCE || _XOPEN_SOURCE */ + +#endif /* !_ANSI_SOURCE */ #include #include