diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-17 18:53:29 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-17 18:53:29 (GMT) |
| commit | 4f1ea4779be85d8837f3a133b52d3b5aa9e53fda (patch) | |
| tree | 401339ab1470b40cccd1bec272ac42427c694d92 /unix/tclUnixPort.h | |
| parent | 4e12ee1bc4fe5d4c49f614f7e18c6df1c8ea0e40 (diff) | |
| parent | f44e7c1795fe27f3f37e692f275545e3fe73ebd6 (diff) | |
| download | tcl-4f1ea4779be85d8837f3a133b52d3b5aa9e53fda.zip tcl-4f1ea4779be85d8837f3a133b52d3b5aa9e53fda.tar.gz tcl-4f1ea4779be85d8837f3a133b52d3b5aa9e53fda.tar.bz2 | |
TIP #491 implementation: Threading Support: phasing out non-threaded builds
Diffstat (limited to 'unix/tclUnixPort.h')
| -rw-r--r-- | unix/tclUnixPort.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index fec27d0..e4277a3 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -610,10 +610,8 @@ extern char ** environ; # undef HAVE_COPYFILE # endif # if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 -# ifdef TCL_THREADS - /* prior to 10.3, realpath is not threadsafe, c.f. bug 711232 */ -# define NO_REALPATH 1 -# endif + /* prior to 10.3, realpath is not threadsafe, c.f. bug 711232 */ +# define NO_REALPATH 1 # undef HAVE_LANGINFO # endif # endif /* MAC_OS_X_VERSION_MAX_ALLOWED */ @@ -686,7 +684,7 @@ typedef int socklen_t; #define TclpExit exit -#ifdef TCL_THREADS +#if !defined(TCL_THREADS) || TCL_THREADS # include <pthread.h> #endif /* TCL_THREADS */ |
