summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
diff options
context:
space:
mode:
authorredman <redman>1999-07-22 21:51:24 (GMT)
committerredman <redman>1999-07-22 21:51:24 (GMT)
commit7960b3162422562493249a2639b3df40d985a3ae (patch)
tree3e5ecb70f53d8151539286c00e94d4c231419d18 /win/tkWinPort.h
parentfb91bc16ea5815f68a31637a88c265fc3efe74eb (diff)
downloadtk-7960b3162422562493249a2639b3df40d985a3ae.zip
tk-7960b3162422562493249a2639b3df40d985a3ae.tar.gz
tk-7960b3162422562493249a2639b3df40d985a3ae.tar.bz2
* Changed version to 8.2b2
* win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. [Bug: 2425]
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r--win/tkWinPort.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 5391b21..4eaa443 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.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: tkWinPort.h,v 1.5 1999/04/16 01:51:53 stanton Exp $
+ * RCS: @(#) $Id: tkWinPort.h,v 1.6 1999/07/22 21:51:25 redman Exp $
*/
#ifndef _WINPORT
@@ -31,7 +31,16 @@
#include <limits.h>
#include <fcntl.h>
#include <io.h>
+
+/*
+ * Need to block out this include for building extensions with MetroWerks
+ * compiler for Win32.
+ */
+
+#ifndef __MWERKS__
#include <sys/stat.h>
+#endif
+
#include <time.h>
#include <tchar.h>