summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-02 14:54:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-02 14:54:38 (GMT)
commitdb70eaab0c68492bd005fd53714af9996947cd9f (patch)
tree0511124ff075d1807df54a2f77761cacf3e411de
parent87d7d0f11c17176fdca0ff935983866a2f9ec3aa (diff)
downloadtcl-db70eaab0c68492bd005fd53714af9996947cd9f.zip
tcl-db70eaab0c68492bd005fd53714af9996947cd9f.tar.gz
tcl-db70eaab0c68492bd005fd53714af9996947cd9f.tar.bz2
Fix [e14c77b845]: Compilation error over typedef.
-rw-r--r--generic/tclInt.h4
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;