summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--win/tkWinDialog.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e9ebfb..1cb1a29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* generic/tkPort.h Make sure that tkWinPort.h is always included
* generic/tkIntXlibDecls.h before tcl.h, otherwise the fallback for TCHAR
* win/tkWinPort.h might go off before the inclusion of <tchar.h>
+ * win/tkWinDialog.c Define OPENFILENAME_SIZE_VERSION_400 if needed
* compat/stdlib.h Include <tcl.h> only when not already done.
* compat/unistd.h
* generic/tkInt.h tkPort.h already includes tk.h, which includes tcl.h
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 7c9ebbb..041aea8 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDialog.c,v 1.72 2010/04/19 13:49:24 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.73 2010/04/20 19:57:46 nijtmans Exp $
*
*/
@@ -51,6 +51,10 @@
#endif
#endif /* BFFM_VALIDATEFAILED */
+#ifndef OPENFILENAME_SIZE_VERSION_400
+#define OPENFILENAME_SIZE_VERSION_400 76
+#endif
+
/*
* The following structure is used by the new Tk_ChooseDirectoryObjCmd to pass
* data between it and its callback. Unqiue to Winodws platform.