From: Peter Howkins Date: Sun, 11 Mar 2012 16:17:39 +0000 (+0000) Subject: Also use internal __fds_bits instead of fds_bits X-Git-Tag: 2.2.0a~26^2~152 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f4a626275713ee89ed130e10e33e5941d9ddc344;p=oweals%2Fcde.git Also use internal __fds_bits instead of fds_bits --- diff --git a/cde/lib/csa/xtclient.c b/cde/lib/csa/xtclient.c index 50f84f06..b42b5efc 100644 --- a/cde/lib/csa/xtclient.c +++ b/cde/lib/csa/xtclient.c @@ -69,7 +69,11 @@ _DtCm_register_xtcallback(XtAppContext appct) return; /* assuming only 1 bit is set */ +#if defined(linux) + bits = fdset.__fds_bits; +#else bits = fdset.fds_bits; +#endif for (i = 0; i < FD_SETSIZE; i += NFDBITS) { fmask = *bits; for (j = 0; fmask != 0; j++, fmask >>= 1) {