summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-06-28 22:49:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-06-28 22:49:22 (GMT)
commitd2629fb2726fa18af638288c9c9aa89369b9fade (patch)
tree5a668f6c4e6abf7a07037bf9a931592971a77f11 /generic/tclInt.h
parent2880e7da55a9d5ff7d8ba8fed48743f0e15733a4 (diff)
parentedc450c53752cf92b00a45883fee2d66a2bde27c (diff)
downloadtcl-d2629fb2726fa18af638288c9c9aa89369b9fade.zip
tcl-d2629fb2726fa18af638288c9c9aa89369b9fade.tar.gz
tcl-d2629fb2726fa18af638288c9c9aa89369b9fade.tar.bz2
merge 8.6
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 48eecce..a985206 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -48,7 +48,8 @@
#else
#include <string.h>
#endif
-#ifdef STDC_HEADERS
+#if defined(STDC_HEADERS) || defined(__STDC__) || defined(__C99__FUNC__) \
+ || defined(__cplusplus) || defined(_MSC_VER)
#include <stddef.h>
#else
typedef int ptrdiff_t;