diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-02 14:54:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-02 14:54:38 (GMT) |
commit | db70eaab0c68492bd005fd53714af9996947cd9f (patch) | |
tree | 0511124ff075d1807df54a2f77761cacf3e411de | |
parent | 87d7d0f11c17176fdca0ff935983866a2f9ec3aa (diff) | |
download | tcl-db70eaab0c68492bd005fd53714af9996947cd9f.zip tcl-db70eaab0c68492bd005fd53714af9996947cd9f.tar.gz tcl-db70eaab0c68492bd005fd53714af9996947cd9f.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 42c13dd..fa91528 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; |