diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-24 15:52:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-24 15:52:42 (GMT) |
commit | e30a832a0e2040dd682f2e77c6d26043e0829d80 (patch) | |
tree | 422f4d2326d1d9efae447878c3a465fe4c449779 /generic/tcl.h | |
parent | 1749f80a0818eb09d3657e5d1c9038c031d9e30e (diff) | |
download | tcl-e30a832a0e2040dd682f2e77c6d26043e0829d80.zip tcl-e30a832a0e2040dd682f2e77c6d26043e0829d80.tar.gz tcl-e30a832a0e2040dd682f2e77c6d26043e0829d80.tar.bz2 |
Supply more C99-compatible (and MSVC) format options: '%p' for pointers, 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC.
Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 1491745..bdb4035 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -393,11 +393,7 @@ typedef long LONG; #if !defined(TCL_WIDE_INT_TYPE)&&!defined(TCL_WIDE_INT_IS_LONG) # if defined(_WIN32) # define TCL_WIDE_INT_TYPE __int64 -# ifdef __BORLANDC__ -# define TCL_LL_MODIFIER "L" -# else /* __BORLANDC__ */ -# define TCL_LL_MODIFIER "I64" -# endif /* __BORLANDC__ */ +# define TCL_LL_MODIFIER "I64" # elif defined(__GNUC__) # define TCL_WIDE_INT_TYPE long long # define TCL_LL_MODIFIER "ll" |