diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-18 07:00:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-18 07:00:04 (GMT) |
commit | c694b80895cefb1f73e090593b507dfa7f6a213e (patch) | |
tree | 6fc5ca2c9dcce11b495bfe1f4f3d7fcb59da6b50 /generic/tclInt.h | |
parent | ff8fb44d1b74a43cc1e608f3ffdaa3b1c5845fa1 (diff) | |
download | tcl-c694b80895cefb1f73e090593b507dfa7f6a213e.zip tcl-c694b80895cefb1f73e090593b507dfa7f6a213e.tar.gz tcl-c694b80895cefb1f73e090593b507dfa7f6a213e.tar.bz2 |
Better place to put vsnprintf switch, so it is usable by all *.c files.
Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 2d3a248..3432b37 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -30,8 +30,7 @@ * here, so that system-dependent personalizations for the include files only * have to be made in once place. This results in a few extra includes, but * greater modularity. The order of the three groups of #includes is - * important. For example, stdio.h is needed by tcl.h, and the _ANSI_ARGS_ - * declaration in tcl.h is needed by stdlib.h in some configurations. + * important. For example, stdio.h is needed by tcl.h. */ #include "tclPort.h" @@ -119,6 +118,10 @@ typedef int ptrdiff_t; # endif #endif +#if defined(_WIN32) && defined(_MSC_VER) +# define vsnprintf _vsnprintf +#endif + /* * The following procedures allow namespaces to be customized to support * special name resolution rules for commands/variables. |