* 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:
parent
7711cb1ae7
commit
127cc4a023
@ -8,6 +8,12 @@
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#ifdef _WIN32
|
||||
#ifndef EAFNOSUPPORT
|
||||
#define EAFNOSUPPORT 102
|
||||
#endif
|
||||
#ifndef ENOSPC
|
||||
#define ENOSPC 28
|
||||
#endif
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
|
@ -14,8 +14,10 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <basetsd.h>
|
||||
#ifdef _MSC_VER
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "IXCancellationRequest.h"
|
||||
#include "IXProgressCallback.h"
|
||||
|
@ -12,8 +12,10 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <basetsd.h>
|
||||
#ifdef _MSC_VER
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "IXNetSystem.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user