diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | win/tkWinDialog.c | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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. |