summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-05-24 13:04:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-05-24 13:04:05 (GMT)
commit61169e4e9e47dcc0b65f18c4c133fc31048a32a3 (patch)
tree78e3d480d23fde2f020e978d95a594f200dc8ce0 /unix/tclUnixPort.h
parent5eafb95b32b1132d639b964d75e65c95e288b265 (diff)
parentedb38932e8f071b1326515067d41bc060807dec2 (diff)
downloadtcl-61169e4e9e47dcc0b65f18c4c133fc31048a32a3.zip
tcl-61169e4e9e47dcc0b65f18c4c133fc31048a32a3.tar.gz
tcl-61169e4e9e47dcc0b65f18c4c133fc31048a32a3.tar.bz2
merge 8.7
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 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 */