2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 14:45:23 +00:00

lsteamclient: Split unixlib and build with msvcrt.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-10-03 11:04:33 +02:00
committed by Arkadiusz Hiler
parent 99bdd62d6c
commit 838d14d66e
207 changed files with 900 additions and 50 deletions

View File

@@ -11,20 +11,18 @@
#include "steamclient_structs.h"
#include "wine/unixlib.h"
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
#define PATH_MAX 4096
extern char g_tmppath[PATH_MAX];
#include "wine/unixlib.h"
#include <pshpack1.h>
struct steamclient_init_params
{
char *g_tmppath;
const char *steam_app_id;
int8_t steam_app_id_unset;
const char *ignore_child_processes;
@@ -208,10 +206,7 @@ struct networking_message
#include <poppack.h>
typedef NTSTATUS (*unixlib_entry_t)( void *args );
extern const unixlib_entry_t __wine_unix_call_funcs[];
#define STEAMCLIENT_CALL( code, args ) __wine_unix_call_funcs[unix_ ## code]( args )
#define STEAMCLIENT_CALL( code, args ) WINE_UNIX_CALL( unix_ ## code, args )
#ifdef __cplusplus
} /* extern "C" */