From 023bd5358a84f96ca15e68da92508284f0b16906 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 10 Aug 2005 15:00:32 +0000 Subject: [PATCH] Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h header. Fixes the compilation with the PSDK. --- dlls/ntdll/tests/rtl.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index 8e31032a8ea..438910d1864 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -25,6 +25,26 @@ #include "ntdll_test.h" +#ifndef __WINE_WINTERNL_H + +typedef struct _RTL_HANDLE +{ + struct _RTL_HANDLE * Next; +} RTL_HANDLE; + +typedef struct _RTL_HANDLE_TABLE +{ + ULONG MaxHandleCount; + ULONG HandleSize; + ULONG Unused[2]; + PVOID NextFree; + PVOID FirstHandle; + PVOID ReservedMemory; + PVOID MaxHandle; +} RTL_HANDLE_TABLE; + +#endif + /* Function ptrs for ntdll calls */ static HMODULE hntdll = 0; static SIZE_T (WINAPI *pRtlCompareMemory)(LPCVOID,LPCVOID,SIZE_T);