diff options
author | Edward Hervey <edward@centricular.com> | 2018-02-21 09:05:45 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-06-06 06:59:54 +0200 |
commit | ec57d333ad29da12784c964cd2a38d58d77be12c (patch) | |
tree | 571536bd3ee82ca7a72b8387004c9b2981e5698a /agent | |
parent | 34d60446ddfcdb98f2543611151ef8fbc5be4805 (diff) | |
download | libnice-ec57d333ad29da12784c964cd2a38d58d77be12c.tar.gz |
agent: Redefine socket error messages for windows
In the same way we do it for the other error messages
Diffstat (limited to 'agent')
-rw-r--r-- | agent/pseudotcp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/agent/pseudotcp.h b/agent/pseudotcp.h index e7c8eaa..687c459 100644 --- a/agent/pseudotcp.h +++ b/agent/pseudotcp.h @@ -78,6 +78,14 @@ #ifndef ECONNRESET # define ECONNRESET WSAECONNRESET #endif + +#ifndef EMSGSIZE +# define EMSGSIZE WSAEMSGSIZE +#endif + +#ifndef ETIMEDOUT +# define ETIMEDOUT WSAETIMEDOUT +#endif #endif #endif |