summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-07-22 21:50:53 (GMT)
committerredman <redman@noemail.net>1999-07-22 21:50:53 (GMT)
commitbc2f59b5547066b591571cbcfdfbb736a3c5bd27 (patch)
treed6278f0ac3e8f40fdef3bbed06f35b3868fbb00f /win/tclWinPort.h
parent228463a4c3c4354c82db1ea23c8e273bc58b06e2 (diff)
downloadtcl-bc2f59b5547066b591571cbcfdfbb736a3c5bd27.zip
tcl-bc2f59b5547066b591571cbcfdfbb736a3c5bd27.tar.gz
tcl-bc2f59b5547066b591571cbcfdfbb736a3c5bd27.tar.bz2
* Changed version to 8.2b2.
* win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427] FossilOrigin-Name: 589cb7ba77c5ab4acc9acaf8db1a747055dec61b
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index aba6807..1f0e46d 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.9 1999/04/22 20:28:02 redman Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.10 1999/07/22 21:50:57 redman Exp $
*/
#ifndef _TCLWINPORT
@@ -52,8 +52,17 @@ typedef float *TCHAR;
#include <process.h>
#include <signal.h>
#include <string.h>
+
+/*
+ * Need to block out these includes for building extensions with MetroWerks
+ * compiler for Win32.
+ */
+
+#ifndef __MWERKS__
#include <sys/stat.h>
#include <sys/timeb.h>
+#endif
+
#include <tchar.h>
#include <time.h>
#include <winsock2.h>