diff options
author | das <das@noemail.net> | 2006-10-31 22:24:39 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-10-31 22:24:39 (GMT) |
commit | e9b765a0d988a0abfc3e4e635cafbbfdfe447067 (patch) | |
tree | e1661ef8b0037e50d49ad1516252af0d65c3d699 /generic/tclEnv.c | |
parent | 8b11c65d3c84600d6f611226e362a4475b4b6a9a (diff) | |
download | tcl-e9b765a0d988a0abfc3e4e635cafbbfdfe447067.zip tcl-e9b765a0d988a0abfc3e4e635cafbbfdfe447067.tar.gz tcl-e9b765a0d988a0abfc3e4e635cafbbfdfe447067.tar.bz2 |
* unix/tclUnixPort.h: ensure MODULE_SCOPE is defined before use, so
that tclPort.h can once again be included without tclInt.h.
* generic/tclEnv.c (Darwin): mark _environ symbol as unexported
even when MODULE_SCOPE != __private_extern__.
FossilOrigin-Name: 4502d2d7c1819c5c3a2ac07cd1ff44cd358f4803
Diffstat (limited to 'generic/tclEnv.c')
-rw-r--r-- | generic/tclEnv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c index 812c2e4..12f4ab4 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.28 2005/11/27 02:33:49 das Exp $ + * RCS: @(#) $Id: tclEnv.c,v 1.29 2006/10/31 22:24:39 das Exp $ */ #include "tclInt.h" @@ -43,7 +43,7 @@ static int environSize = 0; /* Non-zero means that the environ array was #if defined(__APPLE__) && defined(__DYNAMIC__) #include <crt_externs.h> -MODULE_SCOPE char **environ; +__private_extern__ char **environ; char **environ = NULL; #endif |