summaryrefslogtreecommitdiff
path: root/win.imp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-12-31 23:06:52 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-12-31 23:06:52 +0000
commit197c49e996ba6f1284a7b7369b294000450b4453 (patch)
tree065ec22e1f43281a886cb7a0e63b9184a85f6b8f /win.imp
parent0d50427b8389ade7e01b653494afa2b204e3a83c (diff)
Fixes for building with qt5.5
Diffstat (limited to 'win.imp')
-rw-r--r--win.imp10
1 files changed, 9 insertions, 1 deletions
diff --git a/win.imp b/win.imp
index cbecdc43..24635775 100644
--- a/win.imp
+++ b/win.imp
@@ -54,10 +54,18 @@
{ include: [ "<Shellapi.h>", "private", "<Windows.h>", "public" ] }, # official name according to website
{ include: [ "<shellapi.h>", "private", "<Windows.h>", "public" ] },
#
- { include: [ "<knownfolders.h>", "private", "<Windows.h>", "public" ] },
{ include: [ "<ShlObj.h>", "private", "<Windows.h>", "public" ] },
{ include: [ "<objidl.h>", "private", "<Windows.h>", "public" ] },
+# These ones are in shtypes.h but the only documentation I can find says
+# to include Knownfolders.h for these
+ { symbol: [ "REFKNOWNFOLDERID", "private", "<Knownfolders.h>", "public" ] },
+ { symbol: [ "KNOWNFOLDERID", "private", "<Knownfolders.h>", "public" ] },
+
+# IWYU doesn't understand upper/lower case which is *really* annoying on
+# windows, though to be fair I'm not sure M/S understand it either.
+ { include: [ "<knownfolders.h>", "private", "<Knownfolders.h>", "public" ] },
+
# Files that are included by other files which seem to then come for free in Windows.h but
# shouldn't. Again, should be cleaned up.