summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authormig <mig>2013-05-07 18:08:41 (GMT)
committermig <mig>2013-05-07 18:08:41 (GMT)
commit4b77e57edee60a93344391d16de7eeddb3e452cb (patch)
treec00b8bdc66e031faacc20c76d9a17df6a62832c5 /unix/tclUnixPort.h
parent5e64cfb104de3edbed8962d00743912eff6cb430 (diff)
parentebbffb3ea5b1b5609e3fb86ddea543aa3d24693d (diff)
downloadtcl-mig_no280.zip
tcl-mig_no280.tar.gz
tcl-mig_no280.tar.bz2
merge trunkmig_no280
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 636c760..fde1909 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -99,9 +99,11 @@ typedef off_t Tcl_SeekOffset;
# define USE_PUTENV 1
# define USE_PUTENV_FOR_UNSET 1
/* On Cygwin, the environment is imported from the Cygwin DLL. */
+#ifndef __x86_64__
# define environ __cygwin_environ
-# define timezone _timezone
extern char **__cygwin_environ;
+#endif
+# define timezone _timezone
extern int TclOSstat(const char *name, void *statBuf);
extern int TclOSlstat(const char *name, void *statBuf);
#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)