summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-20 19:57:46 (GMT)
committernijtmans <nijtmans>2010-04-20 19:57:46 (GMT)
commita5fa2276832bf18cf14cded757a1e15068a422ec (patch)
treea9d7c87305cf1caf4013891b658d76defb8608c9 /win
parent1465d1de2bd177a7148f92f80d4c003fc04ca3c1 (diff)
downloadtk-a5fa2276832bf18cf14cded757a1e15068a422ec.zip
tk-a5fa2276832bf18cf14cded757a1e15068a422ec.tar.gz
tk-a5fa2276832bf18cf14cded757a1e15068a422ec.tar.bz2
Define OPENFILENAME_SIZE_VERSION_400 if needed
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c6
1 files changed, 5 insertions, 1 deletions
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.