Thomas Faber : ntdll/tests: Fix build with PSDK headers.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 27 08:20:48 CST 2015


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

Author: Thomas Faber <thomas.faber at reactos.org>
Date:   Tue Nov 24 17:52:28 2015 +0100

ntdll/tests: Fix build with PSDK headers.

CRITICAL_SECTION is distinct from RTL_CRITICAL_SECTION in PSDK.

Signed-off-by: Thomas Faber <thomas.faber at reactos.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/rtl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 0f79f7d..94a22ac 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -96,8 +96,8 @@ static NTSTATUS  (WINAPI *pRtlGetCompressionWorkSpaceSize)(USHORT, PULONG, PULON
 static NTSTATUS  (WINAPI *pRtlDecompressBuffer)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, PULONG);
 static NTSTATUS  (WINAPI *pRtlDecompressFragment)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, ULONG, PULONG, PVOID);
 static NTSTATUS  (WINAPI *pRtlCompressBuffer)(USHORT, const UCHAR*, ULONG, PUCHAR, ULONG, ULONG, PULONG, PVOID);
-static BOOL      (WINAPI *pRtlIsCriticalSectionLocked)(RTL_CRITICAL_SECTION *);
-static BOOL      (WINAPI *pRtlIsCriticalSectionLockedByThread)(RTL_CRITICAL_SECTION *);
+static BOOL      (WINAPI *pRtlIsCriticalSectionLocked)(CRITICAL_SECTION *);
+static BOOL      (WINAPI *pRtlIsCriticalSectionLockedByThread)(CRITICAL_SECTION *);
 
 static HMODULE hkernel32 = 0;
 static BOOL      (WINAPI *pIsWow64Process)(HANDLE, PBOOL);




More information about the wine-cvs mailing list