mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +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
|
||||
|
|
|
|||
|
|
@ -8,3 +8,5 @@ rm cpp*.h
|
|||
rm cb*.h
|
||||
rm cb*.cpp
|
||||
rm cb*.dat
|
||||
|
||||
./gen_wrapper.py
|
||||
|
|
|
|||
|
|
@ -296,8 +296,6 @@ def handle_class(sdkver, classnode):
|
|||
cfile = open("%s.c" % winname, "a")
|
||||
if not file_exists:
|
||||
cfile.write("""/* This file is auto-generated, do not edit. */
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
|||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(instance);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -31,3 +31,7 @@ typedef struct __winX winX;
|
|||
void *create_win_interface(const char *name, void *linux_side);
|
||||
unsigned int steamclient_unix_path_to_dos_path(unsigned int api_result, char *inout, unsigned int inout_bytes);
|
||||
void *create_LinuxMatchmakingServerListResponse(void *win);
|
||||
|
||||
#define TRACE WINE_TRACE
|
||||
#define ERR WINE_ERR
|
||||
#define WARN WINE_WARN
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
/* Linux-to-Windows conversions (i.e. callbacks) here. */
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
/* This file is auto-generated, do not edit. */
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue