summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/UDPWiimote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/UDPWiimote.cpp')
-rw-r--r--Source/Core/InputCommon/Src/UDPWiimote.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/UDPWiimote.cpp b/Source/Core/InputCommon/Src/UDPWiimote.cpp
index d31b5ad047..9396da741f 100644
--- a/Source/Core/InputCommon/Src/UDPWiimote.cpp
+++ b/Source/Core/InputCommon/Src/UDPWiimote.cpp
@@ -7,6 +7,7 @@
#include <ws2tcpip.h>
#define sock_t SOCKET
#define ERRNO WSAGetLastError()
+#undef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define BAD_SOCK INVALID_SOCKET
#define close(x) closesocket(x)