aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-30 12:08:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-30 12:08:18 +0000
commitdf750c236c1ffb46d7aa1aade689626f6792b053 (patch)
tree099312e8e1376016fa5abe5e2de7337e3d3946b2 /lib/setup.h
parent154c9bc3b88703316b1ff5c6c2230b41718d6c43 (diff)
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.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h10
1 files changed, 10 insertions, 0 deletions
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 */