diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclEnv.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-11-01 Daniel Steffen <das@users.sourceforge.net> + + * generic/tclEnv.c (Darwin): mark _environ symbol as unexported. + 2006-10-31 Pat Thoyts <patthoyts@users.sourceforge.net> * rules.vc: Fix bug #1582769 build with VC2003 and correct i386 arch. diff --git a/generic/tclEnv.c b/generic/tclEnv.c index 947d397..a7c7c39 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEnv.c,v 1.20.2.2 2005/10/05 08:02:20 hobbs Exp $ + * RCS: @(#) $Id: tclEnv.c,v 1.20.2.3 2006/10/31 22:25:08 das Exp $ */ #include "tclInt.h" @@ -43,6 +43,7 @@ static int environSize = 0; /* Non-zero means that the environ array was */ #if defined(__APPLE__) && defined(__DYNAMIC__) #include <crt_externs.h> +__private_extern__ char **environ; char **environ = NULL; #endif |