summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-25 07:00:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-25 07:00:26 (GMT)
commit2d76a375ccd53835f64269ac5e8d3c950ac2ace9 (patch)
tree21b5385683bef2e477d144f525011c3f774f5592 /win/tkWinDialog.c
parentba8f3b0995b341e84cdff9bde61ab55b79cd6e51 (diff)
downloadtk-2d76a375ccd53835f64269ac5e8d3c950ac2ace9.zip
tk-2d76a375ccd53835f64269ac5e8d3c950ac2ace9.tar.gz
tk-2d76a375ccd53835f64269ac5e8d3c950ac2ace9.tar.bz2
Quick-fix compilation on VC6/PSDK (reported by Andreas Kurpies)
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 9954a57..c90d05a 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -219,6 +219,7 @@ typedef enum SIATTRIBFLAGS {
SIATTRIBFLAGS_MASK = 0x3,
SIATTRIBFLAGS_ALLITEMS = 0x4000
} SIATTRIBFLAGS;
+#ifdef __MSVCRT__
typedef ULONG SFGAOF;
typedef struct IShellItem IShellItem;
@@ -249,6 +250,7 @@ typedef struct IShellItemVtbl
struct IShellItem {
CONST_VTBL struct IShellItemVtbl *lpVtbl;
};
+#endif /* __MSVCRT__ */
typedef struct IShellItemArray IShellItemArray;
typedef struct IShellItemArrayVtbl
{