diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-02 14:56:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-02 14:56:20 (GMT) |
commit | beea8bd8239020a39d28b48993623c6f81fb4c81 (patch) | |
tree | 27f6dc4d8e6741f8bbd53cfb49b281e448a30395 | |
parent | 03462e2c1dfc9da26f049ee17a3001df257442e4 (diff) | |
parent | db70eaab0c68492bd005fd53714af9996947cd9f (diff) | |
download | tcl-beea8bd8239020a39d28b48993623c6f81fb4c81.zip tcl-beea8bd8239020a39d28b48993623c6f81fb4c81.tar.gz tcl-beea8bd8239020a39d28b48993623c6f81fb4c81.tar.bz2 |
Fix [e14c77b845]: Compilation error over typedef.
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 1dab0cb..6870f61 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -48,7 +48,9 @@ #else #include <string.h> #endif -#ifdef STDC_HEADERS +#if defined(_WIN32) +#include <crtdefs.h> +#elif defined(STDC_HEADERS) #include <stddef.h> #else typedef int ptrdiff_t; |