summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-04-14 16:34:39 (GMT)
committervincentdarley <vincentdarley>2003-04-14 16:34:39 (GMT)
commit50b417df2168acee5032be173a1775380a6276c5 (patch)
tree087f616980a4a295ac1b0636e9b640305be256df
parent490e91fb79a23c76883f37ec8930de79aeaf734e (diff)
downloadtcl-50b417df2168acee5032be173a1775380a6276c5.zip
tcl-50b417df2168acee5032be173a1775380a6276c5.tar.gz
tcl-50b417df2168acee5032be173a1775380a6276c5.tar.bz2
vc++ 5.2 compile fix
-rw-r--r--ChangeLog2
-rw-r--r--win/tclWinFile.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fc2b4a9..06a24ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
* generic/tclPathObj.c:
* generic/tclFileSystem.h: overlooked one function which
was duplicated, so this is now shared between modules.
+ * win/tclWinFile.c: allow this file to compile with VC++ 5.2 again
+ since Mingw build fixes broke that.
2003-04-13 Mo DeJong <mdejong@users.sourceforge.net>
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index faa1759..122eea0 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.46 2003/04/14 02:36:58 mdejong Exp $
+ * RCS: @(#) $Id: tclWinFile.c,v 1.47 2003/04/14 16:34:40 vincentdarley Exp $
*/
//#define _WIN32_WINNT 0x0500
@@ -128,6 +128,10 @@ typedef struct {
WCHAR dummyBuf[MAX_PATH*3];
} DUMMY_REPARSE_BUFFER;
+#if defined(_MSC_VER) && ( _MSC_VER <= 1100 )
+#define HAVE_NO_FINDEX_ENUMS
+#endif
+
#ifdef HAVE_NO_FINDEX_ENUMS
/* These two aren't in VC++ 5.2 headers */
typedef enum _FINDEX_INFO_LEVELS {