applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC
* DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c
testSAX.c xmlIO.c xmllint.c include/win32config.h
include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h
include/libxml/xmlwin32version.h.in win32/README.MSDev
win32/dsp/*: applied Win32 Facelift No.2 patches from
Igor Zlatkovic for Windows/MSC
Daniel
diff --git a/nanohttp.c b/nanohttp.c
index 8fade16..908103b 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -542,7 +542,11 @@
FD_ZERO(&rfd);
FD_SET(ctxt->fd, &rfd);
- if ( (select(ctxt->fd+1, &rfd, NULL, NULL, &tv)<1) && (errno != EINTR) )
+ if ( (select(ctxt->fd+1, &rfd, NULL, NULL, &tv)<1)
+#if defined(EINTR)
+ && (errno != EINTR)
+#endif
+ )
return(0);
}
return(0);