mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Also use internal __fds_bits instead of fds_bits
This commit is contained in:
parent
034813b328
commit
f4a6262757
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue