summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-25 10:37:18 (GMT)
committernijtmans <nijtmans>2010-05-25 10:37:18 (GMT)
commit84a1ee34d9ecae4ee8d3868ac5322496b3f5ce30 (patch)
treecdf9afd1b63f56b3eefdd624b8462c8c66b6af50 /win/tclWinPort.h
parentbfcf11c90cbf7beb8c0a6848558e43d851ba0e27 (diff)
downloadtcl-84a1ee34d9ecae4ee8d3868ac5322496b3f5ce30.zip
tcl-84a1ee34d9ecae4ee8d3868ac5322496b3f5ce30.tar.gz
tcl-84a1ee34d9ecae4ee8d3868ac5322496b3f5ce30.tar.bz2
[Bug 2991415]: tclport.h #included before limits.h
Diffstat (limited to 'win/tclWinPort.h')
-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