summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-14 14:25:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-14 14:25:13 (GMT)
commit8b059d60dc3020deb2ab1d80e27ff78bbd9560cf (patch)
tree3779803b0d094859beb9943a29525bf83b0d4d68 /generic
parenta8739c2b4b3261872135954ee11230e9d0a4a4bc (diff)
parenta9263ba9069329f5c9f64a6a965cfce12f18ab15 (diff)
downloadtcl-8b059d60dc3020deb2ab1d80e27ff78bbd9560cf.zip
tcl-8b059d60dc3020deb2ab1d80e27ff78bbd9560cf.tar.gz
tcl-8b059d60dc3020deb2ab1d80e27ff78bbd9560cf.tar.bz2
Better fix for the usability of TCL_NO_DEPRECATED on MacOSX
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index a8ebaed..d60e3f1 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2631,7 +2631,7 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr);
# define Tcl_Ckrealloc Tcl_Realloc
# define Tcl_Return Tcl_SetResult
# define Tcl_TildeSubst Tcl_TranslateFileName
-#ifndef MAC_OSX_TCL /* On OSX, there is a conflict with "mach.h" */
+#if !defined(__APPLE__) /* On OSX, there is a conflict with "mach/mach.h" */
# define panic Tcl_Panic
#endif
# define panicVA Tcl_PanicVA