summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 09:54:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 09:54:42 (GMT)
commit7f3a2efae746f76d4e9eb1b18c1133748dccc6b6 (patch)
tree308274ad15d92391a3592b101e13ea184cecfa9f /win/tclWinTest.c
parent3618a567209dcf5cc3492b801259f577bac5675c (diff)
downloadtcl-7f3a2efae746f76d4e9eb1b18c1133748dccc6b6.zip
tcl-7f3a2efae746f76d4e9eb1b18c1133748dccc6b6.tar.gz
tcl-7f3a2efae746f76d4e9eb1b18c1133748dccc6b6.tar.bz2
Fix Windows build with --disable-shared: Make sure that test-code is never compiled with -DBUILD_tcl -DSTATIC_BUILD
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 9a4c082..1b679a9 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -9,6 +9,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#undef BUILD_tcl
+#undef STATIC_BUILD
#ifndef USE_TCL_STUBS
# define USE_TCL_STUBS
#endif