summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-09 11:38:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-09 11:38:54 (GMT)
commit8afdb9286632c44763fe2b168b72cc6606ac52d4 (patch)
treef3bfee9e1feace9b58f86f84a3dc3c7a83c1c028 /generic/tclDate.c
parentdb70eaab0c68492bd005fd53714af9996947cd9f (diff)
downloadtcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.zip
tcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.tar.gz
tcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.tar.bz2
Fix [e14c77b845] for MSVC6: Compilation error over typedef
Diffstat (limited to 'generic/tclDate.c')
-rw-r--r--generic/tclDate.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index 6222a8a..e4dd000 100644
--- a/generic/tclDate.c
+++ b/generic/tclDate.c
@@ -359,14 +359,8 @@ typedef short int yytype_int16;
#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
# define YYSIZE_T __SIZE_TYPE__
-# elif defined size_t
-# define YYSIZE_T size_t
-# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
# else
-# define YYSIZE_T unsigned int
+# define YYSIZE_T size_t
# endif
#endif