Rename the SocketErrno enumeration values, from ESOMETHING to ERROR_SOMETHING, to avoid conflict with errno #define's; fixes compilation in mingw32.
This commit is contained in:
1 parent
9d029109a3
commit
df3a324362
2 files changed
+12
-12
No files matched your search
+7
-7
@@ -46,13 +46,13 @@ public:
|
||||
virtual ~Socket();
|
||||
|
||||
enum SocketErrno {
|
||||
ENOTERROR,
|
||||
EISCONN,
|
||||
ENOTCONN,
|
||||
EMSGSIZE,
|
||||
EAGAIN,
|
||||
ESHUTDOWN,
|
||||
EOPNOTSUPP,
|
||||
ERROR_NOTERROR,
|
||||
ERROR_ISCONN,
|
||||
ERROR_NOTCONN,
|
||||
ERROR_MSGSIZE,
|
||||
ERROR_AGAIN,
|
||||
ERROR_SHUTDOWN,
|
||||
ERROR_OPNOTSUPP,
|
||||
SOCKET_ERRNO_LAST
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user