summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-17 22:48:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-17 22:48:00 (GMT)
commitf44e7c1795fe27f3f37e692f275545e3fe73ebd6 (patch)
tree7f22f87fe383707e86709d4ce2cdab71aad88cf5 /unix/tclUnixPort.h
parent04604552b21903025c8b98a936347adae95c6ed3 (diff)
parent31a291920abf3cdcf53dd275bd8712565ba020c8 (diff)
downloadtcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.zip
tcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.tar.gz
tcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.tar.bz2
Merge 8.7
Move stuff from SC_ENABLE_THREADS to SC_TCL_LINK_LIBS in tcl.m4, so SC_ENABLE_THREADS is no longer needed in configure.ac
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 86f1dd0..78f6ee4 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -602,10 +602,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 */
@@ -678,7 +676,7 @@ typedef int socklen_t;
#define TclpExit exit
-#ifdef TCL_THREADS
+#if !defined(TCL_THREADS) || TCL_THREADS
# include <pthread.h>
#endif /* TCL_THREADS */