mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 19:16:21 +00:00
i/client: Fix return type incompatibility on Windows
This commit is contained in:
parent
d16576252f
commit
8603e5d63e
|
@ -7,6 +7,7 @@
|
|||
* @ingroup ipc_client
|
||||
*/
|
||||
|
||||
#include "xrt/xrt_results.h"
|
||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
@ -376,12 +377,12 @@ ipc_client_instance_create_system(struct xrt_instance *xinst,
|
|||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
static int
|
||||
static xrt_result_t
|
||||
ipc_client_instance_get_prober(struct xrt_instance *xinst, struct xrt_prober **out_xp)
|
||||
{
|
||||
*out_xp = NULL;
|
||||
|
||||
return -1;
|
||||
return XRT_ERROR_PROBER_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue