Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Remove #if for ECONNRESET in _WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
egtra committed Dec 10, 2016
1 parent 9a2a366 commit f2aee35
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions util/telnet-chatd.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@
# define poll WSAPoll
# define close closesocket
# define strdup _strdup

#if !defined(_MSC_VER) || _MSC_VER < 1600 // VC 9 and prior do not define this macro
# define ECONNRESET WSAECONNRESET
#endif
#endif

#include <errno.h>
#include <stdio.h>
Expand Down
3 changes: 0 additions & 3 deletions util/telnet-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@
# define close closesocket
# undef gai_strerror
# define gai_strerror gai_strerrorA

#if !defined(_MSC_VER) || _MSC_VER < 1600 // VC 9 and prior do not define this macro
# define ECONNRESET WSAECONNRESET
#endif
#endif

#include <errno.h>
#include <stdio.h>
Expand Down

0 comments on commit f2aee35

Please sign in to comment.