summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.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)
commit7e8566a02f05d46b53d404cfc683b69c43d2f6b3 (patch)
tree308274ad15d92391a3592b101e13ea184cecfa9f /unix/tclUnixTest.c
parentef824045bfea5623a926d2cc1046fc2e633cff66 (diff)
downloadtcl-7e8566a02f05d46b53d404cfc683b69c43d2f6b3.zip
tcl-7e8566a02f05d46b53d404cfc683b69c43d2f6b3.tar.gz
tcl-7e8566a02f05d46b53d404cfc683b69c43d2f6b3.tar.bz2
Fix Windows build with --disable-shared: Make sure that test-code is never compiled with -DBUILD_tcl -DSTATIC_BUILD
Diffstat (limited to 'unix/tclUnixTest.c')
-rw-r--r--unix/tclUnixTest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index 2c20251..133cdf6 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -10,6 +10,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