summaryrefslogtreecommitdiff
path: root/Xpoll.h.in
AgeCommit message (Collapse)Author
2016-05-02Don't let XFD_SETSIZE exceed FD_SETSIZEJames Clarke
This fixes 2c94cdb453bc641246cc8b9a876da9799bee1ce7 on the Hurd, as FD_SETSIZE is only 256, and so anyone using XFD_SETSIZE to iterate over the contents of an fd_set will overrun the array. Signed-off-by: James Clarke <jrtc27@jrtc27.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2015-09-10Raise the number of FD on WIN32 as wellOlivier Fourdan
Commit 2c94cdb raised the number of file descriptors from 256 to 512 but only for non-WIN32 platforms. The definition of XFD_SETSIZE being duplicated, we need to do the same for WIN32 builds as well otherwise a newer X server trying to use more than 256 clients would fail on that platform. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-07-01Increase the number of file descriptorsOlivier Fourdan
To allow up to 512 clients, the number of file descriptors being monitored need to be increased accordingly. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-03-13Xpoll.h.in: Fix WIN32 check to trigger on MinGW onlyJon TURNEY
MinGW-w64 w32api-headers 3.0.0 define WIN32 in some places they didn't before, which causes this check to turn on for Cygwin, which is not wanted. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-09-23Don't need an #ifdef when both cases just include the same fileAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-12Remove a bunch of garbage for unsupported platforms.Adam Jackson
2009-06-12Remove all trace of X_NOT_STDC_ENV (#6527)Adam Jackson
Seriously C89 already you guys.
2008-05-08Apple: Cleaned up some Apple definitionsJeremy Huddleston
2007-10-30fd_mask needs to be defined on OS X, tooBen Byer
2005-07-22Add includex11dir as a path to the includes, sans X11/.Daniel Stone
Turn Xpoll.h into a generated file. In the modular tree, substitute in whichever of fds_bits or __fds_bits is being used for the member of fd_set on the system; in the monolithic tree, substitute in fds_bits unconditionally, as that's the way it was before thanks to _XOPEN_SOURCE being defined.