lsteamclient: Fix building as a winemaker project

This commit is contained in:
Andrew Eikum 2018-01-18 10:38:13 -06:00
parent 88f3462bc1
commit 0b2c856af7
34 changed files with 60 additions and 122 deletions

View file

@ -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