diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-10-17 14:49:00 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-10-17 14:49:00 (GMT) |
commit | 961bfa6c430d48215dfa18bc52e67f83b4b7a047 (patch) | |
tree | 62bdc008969547f22865f126d6e2e9f46ab03b09 /win | |
parent | d3505ad201359029a8f4ecc46d0dfdd617913446 (diff) | |
download | tk-961bfa6c430d48215dfa18bc52e67f83b4b7a047.zip tk-961bfa6c430d48215dfa18bc52e67f83b4b7a047.tar.gz tk-961bfa6c430d48215dfa18bc52e67f83b4b7a047.tar.bz2 |
Previous commit probably broke higher VS versions (>2012) compilation. Fix that.
FossilOrigin-Name: 29504df7186084627d30e649a50be94cec06c8a5
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index 211875e..ee30806 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -274,7 +274,9 @@ static const IID IIDIFileSaveDialog = { 0x84BCCD23, 0x5FDE, 0x4CDB, {0xAE, 0xA4, 0xAF, 0x64, 0xB8, 0x3D, 0x78, 0xAB} }; -#ifndef __IFileDialog_INTERFACE_DEFINED__ +#ifdef __IFileDialog_INTERFACE_DEFINED__ +# define TCLCOMDLG_FILTERSPEC COMDLG_FILTERSPEC +#else /* Forward declarations for structs that are referenced but not used */ typedef struct IPropertyStore IPropertyStore; |