kernel32/tests: Fix fiber tests compilation with __WINESRC__ defined.
This commit is contained in:
parent
79ac1fa33f
commit
f8fbe80cc7
|
@ -39,7 +39,7 @@ static WORD cbCount;
|
||||||
|
|
||||||
static VOID init_funcs(void)
|
static VOID init_funcs(void)
|
||||||
{
|
{
|
||||||
HMODULE hKernel32 = GetModuleHandle("kernel32");
|
HMODULE hKernel32 = GetModuleHandleA("kernel32.dll");
|
||||||
|
|
||||||
#define X(f) p##f = (void*)GetProcAddress(hKernel32, #f);
|
#define X(f) p##f = (void*)GetProcAddress(hKernel32, #f);
|
||||||
X(CreateFiber);
|
X(CreateFiber);
|
||||||
|
|
Loading…
Reference in New Issue