From 7549243f4051ab0c60819448254834d71e0c5771 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 28 Apr 2021 17:30:00 -0500 Subject: [PATCH] Add the correct definition for ECONNREFUSED for Windows --- src/PlatformSockets.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PlatformSockets.h b/src/PlatformSockets.h index 5e5dffc..679f7cf 100644 --- a/src/PlatformSockets.h +++ b/src/PlatformSockets.h @@ -18,6 +18,7 @@ #define EINPROGRESS WSAEINPROGRESS #define EINTR WSAEINTR #define ETIMEDOUT WSAETIMEDOUT +#define ECONNREFUSED WSAECONNREFUSED typedef int SOCK_RET; typedef int SOCKADDR_LEN;