mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[RPCRT4_WINETEST] Fix 64 bit build
"Should be sent to wine"(tm)
This commit is contained in:
parent
0f6b9664cd
commit
a656d23deb
2 changed files with 9 additions and 3 deletions
|
@ -99,9 +99,7 @@ add_subdirectory(reg)
|
||||||
add_subdirectory(regedit)
|
add_subdirectory(regedit)
|
||||||
add_subdirectory(riched20)
|
add_subdirectory(riched20)
|
||||||
add_subdirectory(riched32)
|
add_subdirectory(riched32)
|
||||||
if(NOT ARCH STREQUAL "amd64")
|
add_subdirectory(rpcrt4)
|
||||||
add_subdirectory(rpcrt4)
|
|
||||||
endif()
|
|
||||||
add_subdirectory(rsaenh)
|
add_subdirectory(rsaenh)
|
||||||
add_subdirectory(schannel)
|
add_subdirectory(schannel)
|
||||||
add_subdirectory(scrrun)
|
add_subdirectory(scrrun)
|
||||||
|
|
|
@ -2261,7 +2261,11 @@ static HANDLE create_server_process(void)
|
||||||
ready_event = CreateEventW(&sec_attr, TRUE, FALSE, NULL);
|
ready_event = CreateEventW(&sec_attr, TRUE, FALSE, NULL);
|
||||||
ok(ready_event != NULL, "CreateEvent failed: %u\n", GetLastError());
|
ok(ready_event != NULL, "CreateEvent failed: %u\n", GetLastError());
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
sprintf(cmdline, "%s server run %Ix", progname, (UINT_PTR)ready_event);
|
||||||
|
#else
|
||||||
sprintf(cmdline, "%s server run %lx", progname, (UINT_PTR)ready_event);
|
sprintf(cmdline, "%s server run %lx", progname, (UINT_PTR)ready_event);
|
||||||
|
#endif
|
||||||
trace("running server process...\n");
|
trace("running server process...\n");
|
||||||
ok(CreateProcessA(NULL, cmdline, NULL, NULL, TRUE, 0L, NULL, NULL, &startup, &info), "CreateProcess\n");
|
ok(CreateProcessA(NULL, cmdline, NULL, NULL, TRUE, 0L, NULL, NULL, &startup, &info), "CreateProcess\n");
|
||||||
ret = WaitForSingleObject(ready_event, 10000);
|
ret = WaitForSingleObject(ready_event, 10000);
|
||||||
|
@ -2517,7 +2521,11 @@ START_TEST(server)
|
||||||
else if(!strcmp(argv[2], "run"))
|
else if(!strcmp(argv[2], "run"))
|
||||||
{
|
{
|
||||||
UINT_PTR event;
|
UINT_PTR event;
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
sscanf(argv[3], "%Ix", &event);
|
||||||
|
#else
|
||||||
sscanf(argv[3], "%lx", &event);
|
sscanf(argv[3], "%lx", &event);
|
||||||
|
#endif
|
||||||
run_server((HANDLE)event);
|
run_server((HANDLE)event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue