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