mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
parent
eb45ddf6f8
commit
e24f98aa3b
@ -69,7 +69,13 @@ struct vrclient_VRClientCoreFactory_params
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
#define VRCLIENT_CALL( code, args ) WINE_UNIX_CALL( unix_ ## code, args )
|
||||
#define VRCLIENT_CALL( code, args ) \
|
||||
({ \
|
||||
NTSTATUS status = WINE_UNIX_CALL( unix_ ## code, args ); \
|
||||
if (status) WARN( #code " failed, status %#x\n", (UINT)status ); \
|
||||
assert( !status ); \
|
||||
status; \
|
||||
})
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
Loading…
Reference in New Issue
Block a user