summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-25 10:37:18 (GMT)
committernijtmans <nijtmans>2010-05-25 10:37:18 (GMT)
commit91f4c8d809190b7d786541a6119abec5cb11e846 (patch)
treecdf9afd1b63f56b3eefdd624b8462c8c66b6af50 /win
parent21140acd90b510305ba98e94fadecbdcf73d4f86 (diff)
downloadtcl-91f4c8d809190b7d786541a6119abec5cb11e846.zip
tcl-91f4c8d809190b7d786541a6119abec5cb11e846.tar.gz
tcl-91f4c8d809190b7d786541a6119abec5cb11e846.tar.bz2
[Bug 2991415]: tclport.h #included before limits.h
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPort.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 1063b88..9f734be 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPort.h,v 1.50.2.2 2010/04/19 07:40:41 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.50.2.3 2010/05/25 10:37:18 nijtmans Exp $
*/
#ifndef _TCLWINPORT
@@ -57,6 +57,7 @@
#include <process.h>
#include <signal.h>
#include <string.h>
+#include <limits.h>
#ifdef __CYGWIN__
# include <unistd.h>
@@ -404,13 +405,6 @@
# define environ _environ
#endif /* __BORLANDC__ */
-#ifdef __CYGWIN__
-/* On Cygwin, the environment is imported from the Cygwin DLL. */
-# define putenv TclCygwinPutenv
-# define timezone _timezone
-#endif /* __CYGWIN__ */
-
-
#ifdef __WATCOMC__
/*
* OpenWatcom uses a wine derived winsock2.h that is missing the