ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/persist.c
(Generate patch)

Comparing ray/src/rt/persist.c (file contents):
Revision 2.20 by gregl, Thu Oct 16 13:49:22 1997 UTC vs.
Revision 2.21 by gregl, Tue Oct 28 14:00:02 1997 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #ifdef F_SETLKW
14   #include "paths.h"
15 + #include "selcall.h"
16   #include <signal.h>
16 #include <sys/types.h>
17 #ifdef INCL_SEL_H
18 #include <sys/select.h>
19 #endif
17   #include <sys/stat.h>
21                                        /* select call compatibility stuff */
22 #ifndef FD_SETSIZE
23 #include <sys/param.h>
24 #define FD_SETSIZE      NOFILE          /* maximum # select file descriptors */
25 #endif
26 #ifndef FD_SET
27 #ifndef NFDBITS
28 #define NFDBITS         (8*sizeof(int)) /* number of bits per fd_mask */
29 #endif
30 #define FD_SET(n, p)    ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
31 #define FD_CLR(n, p)    ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
32 #define FD_ISSET(n, p)  ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
33 #define FD_ZERO(p)      bzero((char *)(p), sizeof(*(p)))
34 #endif
18  
19   #ifndef TIMELIM
20   #define TIMELIM         (8*3600)        /* time limit for holding pattern */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines