diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-10 09:54:42 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-10 09:54:42 (GMT) |
| commit | 7f3a2efae746f76d4e9eb1b18c1133748dccc6b6 (patch) | |
| tree | 308274ad15d92391a3592b101e13ea184cecfa9f | |
| parent | 3618a567209dcf5cc3492b801259f577bac5675c (diff) | |
| download | tcl-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
| -rw-r--r-- | generic/tclTest.c | 1 | ||||
| -rw-r--r-- | generic/tclTestABSList.c | 2 | ||||
| -rw-r--r-- | generic/tclTestObj.c | 1 | ||||
| -rw-r--r-- | generic/tclTestProcBodyObj.c | 2 | ||||
| -rw-r--r-- | generic/tclThreadTest.c | 2 | ||||
| -rw-r--r-- | unix/tclUnixTest.c | 2 | ||||
| -rw-r--r-- | win/tclWinTest.c | 2 |
7 files changed, 12 insertions, 0 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index fc0213e..293d887 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -15,6 +15,7 @@ * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#undef BUILD_tcl #undef STATIC_BUILD #ifndef USE_TCL_STUBS # define USE_TCL_STUBS diff --git a/generic/tclTestABSList.c b/generic/tclTestABSList.c index 227d1b6..1278a93 100644 --- a/generic/tclTestABSList.c +++ b/generic/tclTestABSList.c @@ -1,5 +1,7 @@ // Tcl Abstract List test command: "lstring" +#undef BUILD_tcl +#undef STATIC_BUILD #ifndef USE_TCL_STUBS # define USE_TCL_STUBS #endif diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index 1661d55..e1836ec 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -14,6 +14,7 @@ * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#undef BUILD_tcl #ifndef USE_TCL_STUBS # define USE_TCL_STUBS #endif diff --git a/generic/tclTestProcBodyObj.c b/generic/tclTestProcBodyObj.c index a86499e..7342af7 100644 --- a/generic/tclTestProcBodyObj.c +++ b/generic/tclTestProcBodyObj.c @@ -11,6 +11,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 diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c index f0db075..b10465d 100644 --- a/generic/tclThreadTest.c +++ b/generic/tclThreadTest.c @@ -13,6 +13,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 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 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 |
