diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-20 12:07:08 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-20 12:07:08 (GMT) |
| commit | a1bc5b8a2b3fbc46b0207124137c9b2a5a8cced1 (patch) | |
| tree | 8ebe695cc18c71dfd83d5147ce6b63592281cd95 /unix/tclUnixThrd.c | |
| parent | bc3e198cba9e40c015a6acfa992c69434274dde6 (diff) | |
| download | tcl-a1bc5b8a2b3fbc46b0207124137c9b2a5a8cced1.zip tcl-a1bc5b8a2b3fbc46b0207124137c9b2a5a8cced1.tar.gz tcl-a1bc5b8a2b3fbc46b0207124137c9b2a5a8cced1.tar.bz2 | |
If Tcl is compiled with -DTCL_NO_DEPRECATED, remove a lot of (internal) stub entries which correspond to functions which will be removed in Tcl 9.
This commit should have been part of [7849f573c0e7d758|this] earlier commit.
No effect when Tcl is not compiled with -DTCL_NO_DEPRECATED.
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index f475aed..6fa837c 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -15,11 +15,13 @@ #ifdef TCL_THREADS +#ifndef TCL_NO_DEPRECATED typedef struct { char nabuf[16]; } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; +#endif /* * masterLock is used to serialize creation of mutexes, condition variables, |
