diff options
author | das <das> | 2006-10-31 22:24:39 (GMT) |
---|---|---|
committer | das <das> | 2006-10-31 22:24:39 (GMT) |
commit | 37387d61ef7f0429d0fc459901850838b6935f0d (patch) | |
tree | e1661ef8b0037e50d49ad1516252af0d65c3d699 /generic/tclEnv.c | |
parent | f2bac5b1bba338e3beb5b199a8126d4e838b6d82 (diff) | |
download | tcl-37387d61ef7f0429d0fc459901850838b6935f0d.zip tcl-37387d61ef7f0429d0fc459901850838b6935f0d.tar.gz tcl-37387d61ef7f0429d0fc459901850838b6935f0d.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__.
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 |