diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-09 11:38:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-09 11:38:54 (GMT) |
commit | 8afdb9286632c44763fe2b168b72cc6606ac52d4 (patch) | |
tree | f3bfee9e1feace9b58f86f84a3dc3c7a83c1c028 /generic/tclInt.h | |
parent | db70eaab0c68492bd005fd53714af9996947cd9f (diff) | |
download | tcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.zip tcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.tar.gz tcl-8afdb9286632c44763fe2b168b72cc6606ac52d4.tar.bz2 |
Fix [e14c77b845] for MSVC6: Compilation error over typedef
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index fa91528..7ea37bb 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -48,9 +48,8 @@ #else #include <string.h> #endif -#if defined(_WIN32) -#include <crtdefs.h> -#elif defined(STDC_HEADERS) +#if defined(STDC_HEADERS) || defined(__STDC__) || defined(__C99__FUNC__) \ + || defined(__cplusplus) || defined(_MSC_VER) #include <stddef.h> #else typedef int ptrdiff_t; |