Reece Dunn : shell32: Make the tests build with the Vista SDK.

Alexandre Julliard julliard at winehq.org
Mon Jul 21 08:52:11 CDT 2008


Module: wine
Branch: master
Commit: 811a809b0a95f600e7e08fa432031ac2272fcf21
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=811a809b0a95f600e7e08fa432031ac2272fcf21

Author: Reece Dunn <msclrhd at googlemail.com>
Date:   Sun Jul 20 13:54:14 2008 +0100

shell32: Make the tests build with the Vista SDK.

---

 dlls/shell32/tests/shelllink.c |    3 +++
 dlls/shell32/tests/shlexec.c   |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index 44e314d..fb258aa 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -33,6 +33,9 @@
 
 #include "shell32_test.h"
 
+#ifndef SLDF_HAS_LOGO3ID
+#  define SLDF_HAS_LOGO3ID 0x00000800 /* not available in the Vista SDK */
+#endif
 
 typedef void (WINAPI *fnILFree)(LPITEMIDLIST);
 typedef BOOL (WINAPI *fnILIsEqual)(LPCITEMIDLIST, LPCITEMIDLIST);
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 4b1bf1b..a60c4ad 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -38,6 +38,7 @@
 /* Needed to get SEE_MASK_NOZONECHECKS with the PSDK */
 #define NTDDI_WINXPSP1 0x05010100
 #define NTDDI_VERSION NTDDI_WINXPSP1
+#define _WIN32_WINNT 0x0501
 
 #include "wtypes.h"
 #include "winbase.h"




More information about the wine-cvs mailing list