Fix for MINGW32 and clang on windows (#352) (#357)

* Update IXSocket.h

Avoid "conflicting declaration 'typedef SSIZE_T ssize_t'"

* Update IXUdpSocket.h

* Update IXNetSystem.cpp

ENOSPC and EAFNOSUPPORT are not defined for clang on windows
This commit is contained in:
flagarde
2022-02-11 12:49:33 +08:00
committed by GitHub
parent 7711cb1ae7
commit 127cc4a023
3 changed files with 10 additions and 0 deletions

View File

@ -12,8 +12,10 @@
#ifdef _WIN32
#include <basetsd.h>
#ifdef _MSC_VER
typedef SSIZE_T ssize_t;
#endif
#endif
#include "IXNetSystem.h"