diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-30 09:57:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-30 09:57:37 (GMT) |
commit | a05abd162d6d3eda86cb3842832225cc89f76864 (patch) | |
tree | ae7a8e880f13d5a50e59861fdd2d709489b6e9a3 /generic/tkWindow.c | |
parent | b62a80af2e19518b7cdaf13d290bf68f45800ef8 (diff) | |
parent | 682a2025a8557d37fdc00b7644af58ccb725543c (diff) | |
download | tk-a05abd162d6d3eda86cb3842832225cc89f76864.zip tk-a05abd162d6d3eda86cb3842832225cc89f76864.tar.gz tk-a05abd162d6d3eda86cb3842832225cc89f76864.tar.bz2 |
Fix --disable-shared build on Windows. Eliminate warning in tkWinTest.c
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 8c9d556..a93fed4 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -3018,7 +3018,7 @@ int Tk_Init( Tcl_Interp *interp) /* Interpreter to initialize. */ { -#if defined(_WIN32) +#if defined(_WIN32) && !defined(STATIC_BUILD) if (tkcygwindll) { int (*tkinit)(Tcl_Interp *); @@ -3091,7 +3091,7 @@ Tk_SafeInit( * checked at several places to differentiate the two initialisations. */ -#if defined(_WIN32) +#if defined(_WIN32) && !defined(STATIC_BUILD) if (tkcygwindll) { int (*tksafeinit)(Tcl_Interp *); |