Index: generic/tclPlatDecls.h
===================================================================
RCS file: /cvsroot/tcl/tcl/generic/tclPlatDecls.h,v
retrieving revision 1.6
diff -u -r1.6 tclPlatDecls.h
--- generic/tclPlatDecls.h	2000/08/20 03:51:23	1.6
+++ generic/tclPlatDecls.h	2001/07/17 21:56:42
@@ -17,8 +17,13 @@
  *  of the core are matching against your project build for these
  *  public functions.  BE AWARE.
  */
-#if defined(__WIN32__) && !defined(_INC_TCHAR)
-#include <tchar.h>
+
+#if defined(_MSC_VER) || defined(__MINGW32__)
+# include <tchar.h>
+#elif defined(__CYGWIN__)
+# define WIN32_LEAN_AND_MEAN
+#  include <windows.h>
+# undef  WIN32_LEAN_AND_MEAN
 #endif
 
 /* !BEGIN!: Do not edit below this line. */
