Disable the RtlBitMap tests if compiling with the Microsoft headers as

they are missing critical structure and API declarations.
oldstable
Francois Gouget 2004-09-01 01:29:18 +00:00 committed by Alexandre Julliard
parent 594c42c749
commit 8bc2fdb3f9
2 changed files with 8 additions and 3 deletions

View File

@ -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 @@ static void test_RtlFindClearRuns()
}
}
#endif
START_TEST(rtlbitmap)
{
#ifdef __WINE_WINTERNL_H
InitFunctionPtrs();
if (pRtlInitializeBitMap)
@ -632,4 +636,5 @@ START_TEST(rtlbitmap)
test_RtlFindSetRuns();
test_RtlFindClearRuns();
}
#endif
}

View File

@ -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 @@ static inline PLIST_ENTRY RemoveTailList(PLIST_ENTRY le)
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINTERNAL_H */
#endif /* __WINE_WINTERNL_H */