Disable the RtlBitMap tests if compiling with the Microsoft headers as they are missing critical structure and API declarations.
diff --git a/dlls/ntdll/tests/rtlbitmap.c b/dlls/ntdll/tests/rtlbitmap.c index 1f4744d..ed17730 100644 --- a/dlls/ntdll/tests/rtlbitmap.c +++ b/dlls/ntdll/tests/rtlbitmap.c
@@ -23,6 +23,8 @@ #include "ntdll_test.h" +#ifdef __WINE_WINTERNL_H + /* Function ptrs for ordinal calls */ static HMODULE hntdll = 0; static VOID (WINAPI *pRtlInitializeBitMap)(PRTL_BITMAP,LPBYTE,ULONG); @@ -608,9 +610,11 @@ } } +#endif START_TEST(rtlbitmap) { +#ifdef __WINE_WINTERNL_H InitFunctionPtrs(); if (pRtlInitializeBitMap) @@ -632,4 +636,5 @@ test_RtlFindSetRuns(); test_RtlFindClearRuns(); } +#endif }
diff --git a/include/winternl.h b/include/winternl.h index 99d592e..9aab579 100644 --- a/include/winternl.h +++ b/include/winternl.h
@@ -18,8 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __WINE_WINTERNAL_H -#define __WINE_WINTERNAL_H +#ifndef __WINE_WINTERNL_H +#define __WINE_WINTERNL_H #include <windef.h> @@ -1748,4 +1748,4 @@ } /* extern "C" */ #endif /* defined(__cplusplus) */ -#endif /* __WINE_WINTERNAL_H */ +#endif /* __WINE_WINTERNL_H */