summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorandreask@activestate.com <andreas_kupries>2006-07-14 16:28:50 (GMT)
committerandreask@activestate.com <andreas_kupries>2006-07-14 16:28:50 (GMT)
commit72af7ccc8eebc73d1745f1b8eb8331b366c9822a (patch)
tree6db3bce06d77436719b96c8e25e2fc118624540c /unix/tclUnixPort.h
parent5bcba0961a2ce6cb8f6434c83cc174d3dbe08fd5 (diff)
downloadtcl-72af7ccc8eebc73d1745f1b8eb8331b366c9822a.zip
tcl-72af7ccc8eebc73d1745f1b8eb8331b366c9822a.tar.gz
tcl-72af7ccc8eebc73d1745f1b8eb8331b366c9822a.tar.bz2
* unix/tclUnixPort.h: Added the inclusion of
<AvailabilityMacros.h>. The missing header caused the upcoming #if conditions to wrongly exclude realpath, causing file normalize to ignore symbolic links in the path.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 73a0b67..62100c3 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.47 2006/06/14 21:11:35 das Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.48 2006/07/14 16:28:50 andreas_kupries Exp $
*/
#ifndef _TCLUNIXPORT
@@ -506,6 +506,11 @@ extern double strtod();
*/
#ifdef __APPLE__
+/*
+ * Translate the symbolic values for MAC_OS_X_VERSION_MAX_ALLOWED to
+ * the numbers used in the comparisons below.
+ */
+#include <AvailabilityMacros.h>
/*
* Support for fat compiles: configure runs only once for multiple architectures
*/