summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2003-04-14 22:54:15 (GMT)
committerKevin B Kenny <kennykb@acm.org>2003-04-14 22:54:15 (GMT)
commit27ba35ea0d688699a5c3641edbe164a4c125d031 (patch)
tree94d31cecf8487d0019de7f46ddc8d122dc0ec4c2
parent50b417df2168acee5032be173a1775380a6276c5 (diff)
downloadtcl-27ba35ea0d688699a5c3641edbe164a4c125d031.zip
tcl-27ba35ea0d688699a5c3641edbe164a4c125d031.tar.gz
tcl-27ba35ea0d688699a5c3641edbe164a4c125d031.tar.bz2
Added conditionals to make tclWinFile.c compile on VC++6, which
was broken by recent changes.
-rw-r--r--ChangeLog5
-rw-r--r--win/tclWinFile.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06a24ad..34cfeb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-14 Kevin Kenny <kennykb@acm.org>
+
+ * win/tclWinFile.c: added conditionals to restore compilation on
+ VC++6, which was broken by recent changes.
+
2003-04-14 Vince Darley <vincentdarley@users.sourceforge.net>
* generic/tclIOUtil.c:
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 122eea0..9a7a8b6 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinFile.c,v 1.47 2003/04/14 16:34:40 vincentdarley Exp $
+ * RCS: @(#) $Id: tclWinFile.c,v 1.48 2003/04/14 22:54:16 kennykb Exp $
*/
//#define _WIN32_WINNT 0x0500
@@ -130,6 +130,8 @@ typedef struct {
#if defined(_MSC_VER) && ( _MSC_VER <= 1100 )
#define HAVE_NO_FINDEX_ENUMS
+#elif !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400)
+#define HAVE_NO_FINDEX_ENUMS
#endif
#ifdef HAVE_NO_FINDEX_ENUMS