Explorar el Código

fix for visual studio 2008

Sebastien Jodogne hace 6 años
padre
commit
a06ddb63da
Se han modificado 1 ficheros con 3 adiciones y 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"