From f2aee359aef93f005a478ef29d4a824dc5dc4011 Mon Sep 17 00:00:00 2001 From: Yusuke Ichinohe Date: Sun, 4 Dec 2016 02:32:39 +0900 Subject: [PATCH] Remove #if for ECONNRESET in _WIN32 --- util/telnet-chatd.c | 3 --- util/telnet-proxy.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/util/telnet-chatd.c b/util/telnet-chatd.c index 0149e4e..4468bd4 100644 --- a/util/telnet-chatd.c +++ b/util/telnet-chatd.c @@ -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 #include diff --git a/util/telnet-proxy.c b/util/telnet-proxy.c index 951a3cf..1896310 100644 --- a/util/telnet-proxy.c +++ b/util/telnet-proxy.c @@ -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 #include