mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-11 06:09:30 +03:00
lsteamclient: Build with long types.
This commit is contained in:
parent
23fc5458da
commit
d3e44f677f
@ -2,7 +2,7 @@ MODULE = lsteamclient.dll
|
|||||||
UNIXLIB = lsteamclient.so
|
UNIXLIB = lsteamclient.so
|
||||||
IMPORTS = user32 ws2_32
|
IMPORTS = user32 ws2_32
|
||||||
|
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES -DSTEAM_API_EXPORTS -Dprivate=public -Dprotected=public
|
EXTRADEFS = -DSTEAM_API_EXPORTS -Dprivate=public -Dprotected=public
|
||||||
|
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
steam_input_manual.c \
|
steam_input_manual.c \
|
||||||
|
@ -54,7 +54,7 @@ static BOOL wsa_initialized;
|
|||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
|
TRACE("(%p, %lu, %p)\n", instance, reason, reserved);
|
||||||
|
|
||||||
switch (reason)
|
switch (reason)
|
||||||
{
|
{
|
||||||
@ -158,7 +158,7 @@ static void *get_mem_from_steamclient_dll(size_t size, unsigned int version, voi
|
|||||||
if (!(mod = GetModuleHandleW(steamclientW)))
|
if (!(mod = GetModuleHandleW(steamclientW)))
|
||||||
{
|
{
|
||||||
/* That is steamclient64.dll for x64 but no known use cases on x64.*/
|
/* That is steamclient64.dll for x64 but no known use cases on x64.*/
|
||||||
WARN("Module not found, err %u.\n", GetLastError());
|
WARN("Module not found, err %lu.\n", GetLastError());
|
||||||
alloc_base = error_ptr;
|
alloc_base = error_ptr;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user