summaryrefslogtreecommitdiffstats
path: root/win
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
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')
-rw-r--r--win/Makefile.in5
-rw-r--r--win/tclWinPort.h8
2 files changed, 3 insertions, 10 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 06c1789..ac40e13 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -4,7 +4,7 @@
# "./configure", which is a configuration script generated by the "autoconf"
# program (constructs like "@foo@" will get replaced in the actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.176 2010/04/14 22:58:37 andreas_kupries Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.177 2010/04/28 11:50:54 nijtmans Exp $
VERSION = @TCL_VERSION@
@@ -90,9 +90,6 @@ COMPILE_DEBUG_FLAGS =
#COMPILE_DEBUG_FLAGS = -DTCL_COMPILE_DEBUG
#COMPILE_DEBUG_FLAGS = -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS
-# Special compiler flags to use when building man2tcl on Windows.
-MAN2TCLFLAGS = @MAN2TCLFLAGS@
-
SRC_DIR = @srcdir@
ROOT_DIR = @srcdir@/..
TOP_DIR = $(shell cd @srcdir@/..; pwd)
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__ */