<div dir="ltr">Reviewed-by: Jasper St. Pierre <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 4, 2014 at 2:47 AM, Alan Coopersmith <span dir="ltr"><<a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Left behind when 15e5eaf62897 removed support for building without XCB.<br>
<br>
Signed-off-by: Alan Coopersmith <<a href="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</a>><br>
---<br>
 src/XlibInt.c |   33 ---------------------------------<br>
 1 file changed, 33 deletions(-)<br>
<br>
diff --git a/src/XlibInt.c b/src/XlibInt.c<br>
index 7521f12..a5350e9 100644<br>
--- a/src/XlibInt.c<br>
+++ b/src/XlibInt.c<br>
@@ -74,27 +74,6 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;<br>
<br>
 #endif /* XTHREADS */<br>
<br>
-/* check for both EAGAIN and EWOULDBLOCK, because some supposedly POSIX<br>
- * systems are broken and return EWOULDBLOCK when they should return EAGAIN<br>
- */<br>
-#ifdef WIN32<br>
-#define ETEST() (WSAGetLastError() == WSAEWOULDBLOCK)<br>
-#else<br>
-#ifdef __CYGWIN__ /* Cygwin uses ENOBUFS to signal socket is full */<br>
-#define ETEST() (errno == EAGAIN || errno == EWOULDBLOCK || errno == ENOBUFS)<br>
-#else<br>
-#if defined(EAGAIN) && defined(EWOULDBLOCK)<br>
-#define ETEST() (errno == EAGAIN || errno == EWOULDBLOCK)<br>
-#else<br>
-#ifdef EAGAIN<br>
-#define ETEST() (errno == EAGAIN)<br>
-#else<br>
-#define ETEST() (errno == EWOULDBLOCK)<br>
-#endif /* EAGAIN */<br>
-#endif /* EAGAIN && EWOULDBLOCK */<br>
-#endif /* __CYGWIN__ */<br>
-#endif /* WIN32 */<br>
-<br>
 #ifdef WIN32<br>
 #define ECHECK(err) (WSAGetLastError() == err)<br>
 #define ESET(val) WSASetLastError(val)<br>
@@ -108,18 +87,6 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;<br>
 #endif<br>
 #endif<br>
<br>
-#if defined(LOCALCONN) || defined(LACHMAN)<br>
-#ifdef EMSGSIZE<br>
-#define ESZTEST() (ECHECK(EMSGSIZE) || ECHECK(ERANGE))<br>
-#else<br>
-#define ESZTEST() ECHECK(ERANGE)<br>
-#endif<br>
-#else<br>
-#ifdef EMSGSIZE<br>
-#define ESZTEST() ECHECK(EMSGSIZE)<br>
-#endif<br>
-#endif<br>
-<br>
 #ifdef __UNIXOS2__<br>
 #include <limits.h><br>
 #define MAX_PATH _POSIX_PATH_MAX<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.9.2<br>
<br>
_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>