diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-14 14:20:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-14 14:20:13 (GMT) |
commit | 99fd1215e29a440df99afb1b967c6e91faffa7c6 (patch) | |
tree | 38503c78ed1f461b250c5c815626e7492db445a6 /generic | |
parent | bc5ffbb3b250f36262778ceb51c070bf1c8e7d8d (diff) | |
download | tcl-99fd1215e29a440df99afb1b967c6e91faffa7c6.zip tcl-99fd1215e29a440df99afb1b967c6e91faffa7c6.tar.gz tcl-99fd1215e29a440df99afb1b967c6e91faffa7c6.tar.bz2 |
Better fix for the usability of TCL_NO_DEPRECATED on MacOSX.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 4fb5bb2..f79eb86 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2418,7 +2418,9 @@ EXTERN void Tcl_GetMemoryInfo _ANSI_ARGS_((Tcl_DString *dsPtr)); # define Tcl_Ckrealloc Tcl_Realloc # define Tcl_Return Tcl_SetResult # define Tcl_TildeSubst Tcl_TranslateFileName +#if !defined(__APPLE__) /* On OSX, there is a conflict with "mach/mach.h" */ # define panic Tcl_Panic +#endif # define panicVA Tcl_PanicVA #endif |