[Live-devel] EINTR, EAGAIN, EINPROGRESS, EDOULDBLOCK Compile warning

Ross Finlayson finlayson at live555.com
Sun Aug 12 06:31:51 PDT 2012


> You can undefine any already defined constants from "errno.h" like shown below.
> 
> <<<NetCommon.h>>>
> ...
> ...
> ...
> #define closeSocket closesocket
> #ifdef EWOULDBLOCK
> #undef EWOULDBLOCK
> #endif
> #ifdef EINPROGRESS
> #undef EINPROGRESS
> #endif
> #ifdef EAGAIN
> #undef EAGAIN
> #endif
> #ifdef EINTR
> #undef EINTR
> #endif
> #define EWOULDBLOCK WSAEWOULDBLOCK
> #define EINPROGRESS WSAEWOULDBLOCK
> #define EAGAIN WSAEWOULDBLOCK
> #define EINTR WSAEINTR

OK, I've just installed a new version of the code that makes this change,

(Quite frankly, Windows is becoming more trouble than it's worth...)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120812/20b69593/attachment.html>


More information about the live-devel mailing list