[1/2] advapi32: Fix failures in the security tests compiled with PSDK headers.

Dmitry Timoshkov dmitry at baikal.ru
Wed Mar 14 03:36:09 CDT 2012


---
 dlls/advapi32/tests/security.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index c8db437..7b2460f 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -22,6 +22,9 @@
 #include <stdarg.h>
 #include <stdio.h>
 
+/* 0x0600 makes PROCESS_ALL_ACCESS not compatible with pre-Vista versions */
+#define _WIN32_WINNT 0x0500
+
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "windef.h"
-- 
1.7.9.2




More information about the wine-patches mailing list