summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2006-07-14 16:20:23 (GMT)
committerandreas_kupries <akupries@shaw.ca>2006-07-14 16:20:23 (GMT)
commit8cb60c333409bcc5ab4d0388905e7840b41422b2 (patch)
tree5b4dd4379ced132dc2fed1926b9cff855869f528
parentb21d03a76b28dee1c88a2ccc05dd815364babd83 (diff)
downloadtcl-8cb60c333409bcc5ab4d0388905e7840b41422b2.zip
tcl-8cb60c333409bcc5ab4d0388905e7840b41422b2.tar.gz
tcl-8cb60c333409bcc5ab4d0388905e7840b41422b2.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.
-rw-r--r--ChangeLog7
-rw-r--r--unix/tclUnixPort.h7
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4565862..94b3257 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-07-13 Andreas Kupries <andreask@activestate.com>
+
+ * 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.
+
2006-07-11 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
* generic/tclAsync.c: Made Tcl_AsyncDelete() more tolerant
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 6c57a3b..0fa3803 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.27.2.10 2006/06/14 21:12:19 das Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.11 2006/07/14 16:20:23 andreas_kupries Exp $
*/
#ifndef _TCLUNIXPORT
@@ -509,6 +509,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
*/