mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-08 15:38:02 +01:00
lsteamclient: Fix building as a winemaker project
This commit is contained in:
parent
88f3462bc1
commit
0b2c856af7
34 changed files with 60 additions and 122 deletions
|
|
@ -18,6 +18,12 @@
|
|||
|
||||
/* Copied from dlls/msvcrt/cxx.h */
|
||||
#undef __thiscall
|
||||
|
||||
#define __ASM_NAME(name) name
|
||||
#define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.type " #name suffix ",@function\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous");
|
||||
#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,"",code)
|
||||
#define __ASM_STDCALL(args) ""
|
||||
|
||||
#ifdef __i386__ /* thiscall functions are i386-specific */
|
||||
|
||||
#define THISCALL(func) __thiscall_ ## func
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue