summaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2003-01-18 17:10:16 +0000
committerchristos <christos@NetBSD.org>2003-01-18 17:10:16 +0000
commit32c802c315538bfef0853b47bc6f0c1fbd84bf9b (patch)
tree5aa82447a5ffbd0340ef5085ed07378dc80cbdc8 /include/limits.h
parentfcdaed16cd4a81a5933e00e85d755e60199d214d (diff)
avoid TMP_MAX redefinition
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/limits.h b/include/limits.h
index 79d9ab69e3a..3e3b5ebddf3 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.17 2002/11/18 13:39:33 kleink Exp $ */
+/* $NetBSD: limits.h,v 1.18 2003/01/18 17:10:16 christos Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -87,7 +87,10 @@
#define NL_SETMAX 255
#define NL_TEXTMAX 2048
+/* Always ensure that this is consistent with <stdio.h> */
+#ifndef
#define TMP_MAX 308915776 /* Legacy */
+#endif
#endif /* !_POSIX_C_SOURCE || >= 200112L || _XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */