parent
eb45ddf6f8
commit
e24f98aa3b
1 changed files with 7 additions and 1 deletions
|
@ -69,7 +69,13 @@ struct vrclient_VRClientCoreFactory_params
|
||||||
|
|
||||||
#include <poppack.h>
|
#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
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|
Loading…
Reference in a new issue