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)
commit0b9cb76206d26d688f118412400176d30e786785 (patch)
tree3779803b0d094859beb9943a29525bf83b0d4d68 /generic
parentae6e14e33cd86d42f7445e6b4a7b7f9658d8c007 (diff)
parent99fd1215e29a440df99afb1b967c6e91faffa7c6 (diff)
downloadtcl-0b9cb76206d26d688f118412400176d30e786785.zip
tcl-0b9cb76206d26d688f118412400176d30e786785.tar.gz
tcl-0b9cb76206d26d688f118412400176d30e786785.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