mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 16:54:32 +00:00
Add NXDK (Xbox) support
This commit is contained in:
1 parent
2600beaf13
commit
40d87314d0
7 files changed
+65
-42
No files matched your search
@@ -18,7 +18,7 @@ extern in_port_t n3ds_udp_port;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(NXDK)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <wlanapi.h>
|
||||
@@ -83,7 +83,9 @@ typedef int SOCKADDR_LEN;
|
||||
#include <signal.h>
|
||||
#include <poll.h>
|
||||
|
||||
#ifndef ioctlsocket
|
||||
#define ioctlsocket ioctl
|
||||
#endif
|
||||
#define LastSocketError() errno
|
||||
#define SetLastSocketError(x) errno = x
|
||||
#define INVALID_SOCKET -1
|
||||
|
||||
Reference in new issue
Block a user