summaryrefslogtreecommitdiffstats
path: root/generic/regguts.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
committernijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
commitf7b4327454669c5f4b4c8ffb934734279b61ada9 (patch)
tree9f02a90b630ea9c23e9e80086649e4e3306330bc /generic/regguts.h
parent0d984b7ada501f2f945b60fcb181532452ee09f2 (diff)
downloadtcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.zip
tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.gz
tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.bz2
If tclInt.h or tclPort.h is already
included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415]
Diffstat (limited to 'generic/regguts.h')
-rw-r--r--generic/regguts.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/generic/regguts.h b/generic/regguts.h
index f72542c..e57b8f8 100644
--- a/generic/regguts.h
+++ b/generic/regguts.h
@@ -39,15 +39,6 @@
* Things that regcustom.h might override.
*/
-/* standard header files (NULL is a reasonable indicator for them) */
-#ifndef NULL
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <limits.h>
-#include <string.h>
-#endif
-
/* assertions */
#ifndef assert
#ifndef REG_DEBUG
@@ -96,9 +87,6 @@
#endif
/* want size of a char in bits, and max value in bounded quantifiers */
-#ifndef CHAR_BIT
-#include <limits.h>
-#endif
#ifndef _POSIX2_RE_DUP_MAX
#define _POSIX2_RE_DUP_MAX 255 /* normally from <limits.h> */
#endif