diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-23 19:31:15 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-23 19:31:15 (GMT) |
| commit | edb38932e8f071b1326515067d41bc060807dec2 (patch) | |
| tree | 412b577e1bff527cbc9e106fca9f744233b6fe8d /generic/tclThread.c | |
| parent | 46aab3eb09ed92b1b43e3d08484dfe88efe06cab (diff) | |
| download | tcl-edb38932e8f071b1326515067d41bc060807dec2.zip tcl-edb38932e8f071b1326515067d41bc060807dec2.tar.gz tcl-edb38932e8f071b1326515067d41bc060807dec2.tar.bz2 | |
Unbreak build with other CFLAGS, such as TCL_MEM_DEBUG=1 or TCL_THREADS=0 on Linux
Diffstat (limited to 'generic/tclThread.c')
| -rw-r--r-- | generic/tclThread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c index 8def429..cafd824 100644 --- a/generic/tclThread.c +++ b/generic/tclThread.c @@ -254,6 +254,7 @@ TclRememberMutex( *---------------------------------------------------------------------- */ +#undef Tcl_MutexFinalize void Tcl_MutexFinalize( Tcl_Mutex *mutexPtr) @@ -307,6 +308,7 @@ TclRememberCondition( *---------------------------------------------------------------------- */ +#undef Tcl_ConditionFinalize void Tcl_ConditionFinalize( Tcl_Condition *condPtr) @@ -458,9 +460,7 @@ Tcl_ExitThread( int status) { Tcl_FinalizeThread(); -#if TCL_THREADS TclpThreadExit(status); -#endif } #if !TCL_THREADS |
