Sfoglia il codice sorgente

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

fix for visual studio 2008
bel2125 6 anni fa
parent
commit
33072b42d2
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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"