From f29d8e943f1e34fa4f75820166df49948aa04bc1 Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Sun, 20 Jul 2008 13:54:14 +0100 Subject: [PATCH] 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 5b905b4..a3a879f 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" -- 1.5.6.1.1071.g76fb