Add NXDK (Xbox) support

This commit is contained in:
ReenigneArcher authored and Cameron Gutman committed 2026-06-23 17:58:10 -05:00
1 parent 2600beaf13
commit 40d87314d0
7 files changed
+65 -42

No files matched your search

+3 -1
View File
@@ -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