summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-17 14:49:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-17 14:49:00 (GMT)
commitdfc524e359974ceccac12721ce48089adf8818b7 (patch)
tree62bdc008969547f22865f126d6e2e9f46ab03b09 /win
parentbe604a17415f8e93fa88b4a00fb136732fc5b0e4 (diff)
downloadtk-dfc524e359974ceccac12721ce48089adf8818b7.zip
tk-dfc524e359974ceccac12721ce48089adf8818b7.tar.gz
tk-dfc524e359974ceccac12721ce48089adf8818b7.tar.bz2
Previous commit probably broke higher VS versions (>2012) compilation. Fix that.apn_win_filedialogs
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c4
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;