mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 21:57:17 +00:00
atlthunk/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
308b24d9c7
commit
c7fac86e4d
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
TESTDLL = atlthunk.dll
|
TESTDLL = atlthunk.dll
|
||||||
IMPORTS = atlthunk
|
IMPORTS = atlthunk
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
static LRESULT WINAPI test_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
static LRESULT WINAPI test_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
ok(msg == 1, "msg = %u\n", msg);
|
ok(msg == 1, "msg = %u\n", msg);
|
||||||
ok(wparam == 2, "wparam = %lu\n", wparam);
|
ok(wparam == 2, "wparam = %Id\n", wparam);
|
||||||
ok(lparam == 3, "lparam = %lu\n", lparam);
|
ok(lparam == 3, "lparam = %Id\n", lparam);
|
||||||
return (LRESULT)hwnd | 0x1000;
|
return (LRESULT)hwnd | 0x1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ static void test_thunk_proc(void)
|
||||||
ok(thunk_proc != NULL, "thunk_proc = NULL\n");
|
ok(thunk_proc != NULL, "thunk_proc = NULL\n");
|
||||||
|
|
||||||
res = thunk_proc((HWND)0x1234, 1, 2, 3);
|
res = thunk_proc((HWND)0x1234, 1, 2, 3);
|
||||||
ok(res == (i | 0x1000), "res = %lu\n", res);
|
ok(res == (i | 0x1000), "res = %Iu\n", res);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(i=0; i < ARRAY_SIZE(thunks); i++)
|
for(i=0; i < ARRAY_SIZE(thunks); i++)
|
||||||
|
|
Loading…
Reference in a new issue