diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-14 09:12:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-14 09:12:46 (GMT) |
commit | e83f835a195b90a303657bda68904f37b14b50aa (patch) | |
tree | f31fd3297f23c483902930e6afe09b6823820cd7 /generic/tclInt.h | |
parent | 5fee89b1cba2dec073fe621b65f34c480fe15483 (diff) | |
download | tcl-e83f835a195b90a303657bda68904f37b14b50aa.zip tcl-e83f835a195b90a303657bda68904f37b14b50aa.tar.gz tcl-e83f835a195b90a303657bda68904f37b14b50aa.tar.bz2 |
(cherry-pick): Fix [e14c77b845]: Compilation error over typedef.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 18574c3..6113f23 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; |