1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

On linux use __fds_bits instead of fds_bits

This commit is contained in:
Peter Howkins 2012-03-12 12:12:41 +00:00
parent a5b6e62764
commit eeb7e285f5

View file

@ -86,8 +86,13 @@ void SPCD_MainLoopUntil(Boolean *flag)
int result;
do {
for (n=0; n<fd_vec_size; n++) {
#if defined(linux)
input_mask.__fds_bits[n] = Sb_Input_Mask.__fds_bits[n];
except_mask.__fds_bits[n] = Sb_Except_Mask.__fds_bits[n];
#else
input_mask.fds_bits[n] = Sb_Input_Mask.fds_bits[n];
except_mask.fds_bits[n] = Sb_Except_Mask.fds_bits[n];
#endif
}
do result=select(SPCD_max_fd + 1, FD_SET_CAST(&input_mask),