diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 13:11:47 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 13:11:47 (GMT) |
commit | e89bfca44403750e0e1b9f7f36ed67cd244ab73f (patch) | |
tree | 03844a17dab6fcddf2ac38bcf6f89b9565e708e7 /generic/tkMain.c | |
parent | 96ef4a384e7c31836cbfbb9165122bc5e937333e (diff) | |
download | tk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.zip tk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.tar.gz tk-e89bfca44403750e0e1b9f7f36ed67cd244ab73f.tar.bz2 |
Fix [4b5deacc70]: undefined reference to `Tcl_SetStartupScript'. Also fix some ANSI prototypes. Sync tcl.m4 with Tcl.
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r-- | generic/tkMain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index e8aa08b..d62dd72 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -15,7 +15,9 @@ */ #include "tkInt.h" -#ifdef _WIN32 +#if TCL_MINOR_VERSION < 6 +#include "tclInt.h" +#elif defined(_WIN32) /* Little hack to eliminate the need for "tclInt.h" here: Just copy a small portion of TclIntPlatStubs, just enough to make it work. See [600b72bfbc] */ |