Explorar o código

Merge pull request #721 from jodogne/visual-studio-2008

fix for visual studio 2008
bel2125 %!s(int64=6) %!d(string=hai) anos
pai
achega
33072b42d2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/civetweb.c

+ 3 - 0
src/civetweb.c

@@ -536,6 +536,9 @@ typedef long off_t;
 #if !defined(EWOULDBLOCK)
 #define EWOULDBLOCK WSAEWOULDBLOCK
 #endif /* !EWOULDBLOCK */
+#if !defined(ECONNRESET)
+#define ECONNRESET WSAECONNRESET
+#endif /* !ECONNRESET */
 #define _POSIX_
 #define INT64_FMT "I64d"
 #define UINT64_FMT "I64u"