summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-11 06:02:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-11 06:02:45 +0000
commitdc9c0c70446efdf1849edee5b122994bcd7055f7 (patch)
tree75b552cc1080d830a60cfd0b7e20ab2f32c13006
parent78b43575672dcc5b6aa8e2aafd5d52c0dd118646 (diff)
provide TMP_MAX like stdio.h; kleink
-rw-r--r--include/limits.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/limits.h b/include/limits.h
index c2d7f25fec0..f9998eb748b 100644
--- a/include/limits.h
+++ b/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 <machine/limits.h>
#include <sys/syslimits.h>