summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-28 11:50:53 (GMT)
committernijtmans <nijtmans>2010-04-28 11:50:53 (GMT)
commitdd801c86b1a462d516d4e3b97e459fc41a4be684 (patch)
treed670f15c4e6711c3221297fd0c7137f4ae51d7ae /win/tclWinPort.h
parentad4fb382c8f0c304d9349c4b2db7aecd8ace54cb (diff)
downloadtcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.zip
tcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.tar.gz
tcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.tar.bz2
Remove unused @MAN2TCLFLAGS@
Move <limits.h> include from tclInt.h to tclWinPort.h, and eliminate unneeded <stdlib.h>, <stdio.h> and <string.h>, which are already in tclInt.h Move "tclInt.h" from regcustom.h up to regex.h. tclAlloc.c: Unneeded <stdio.h> include tclExecute.c: Fix gcc warning: comparison between signed and unsigned
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 204181f..fa049bf 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.56 2010/04/15 13:58:44 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.57 2010/04/28 11:50:54 nijtmans Exp $
*/
#ifndef _TCLWINPORT
@@ -56,15 +56,13 @@
#include <wchar.h>
#include <io.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <float.h>
#include <malloc.h>
#include <process.h>
#include <signal.h>
-#include <string.h>
+#include <limits.h>
#ifdef __CYGWIN__
# include <unistd.h>
@@ -413,8 +411,6 @@
#endif /* __BORLANDC__ */
#ifdef __CYGWIN__
-/* On Cygwin, the environment is imported from the Cygwin DLL. */
-# define putenv TclCygwinPutenv
# define timezone _timezone
#endif /* __CYGWIN__ */