From df750c236c1ffb46d7aa1aade689626f6792b053 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Jan 2004 12:08:18 +0000 Subject: Somewhat crude attempt at fixing the test 91 failures. I commit this now so that the automatic testing hosts will test these changes over the weekend. --- lib/setup.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index 20120d8a6..3ba33dd32 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -256,4 +256,14 @@ typedef struct in_addr Curl_ipconnect; #define IOCTL_3_ARGS #endif +#ifndef ECONNRESET +#ifdef WSAECONNRESET +#define ECONNRESET WSAECONNRESET +#else +/* This will effectively prevent the code from working in this particular + aspect, but it still compile fine! */ +#define ECONNRESET 10000 +#endif +#endif + #endif /* __CONFIG_H */ -- cgit v1.2.3