diff options
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 10 |
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 */ |