… | |
… | |
43 | |
43 | |
44 | // if the BSDs would at least be marginally POSIX-compatible.. *sigh* |
44 | // if the BSDs would at least be marginally POSIX-compatible.. *sigh* |
45 | // until that happens, sys/select.h must come last |
45 | // until that happens, sys/select.h must come last |
46 | #include <sys/select.h> |
46 | #include <sys/select.h> |
47 | |
47 | |
48 | // TSTAMP_MAX must still fit into a positive struct timeval |
|
|
49 | #define TSTAMP_MAX (double)(1UL<<31) |
|
|
50 | |
|
|
51 | #define TIMEVAL timeval |
48 | #define TIMEVAL timeval |
52 | #define TV_FRAC tv_usec |
49 | #define TV_FRAC tv_usec |
53 | #define TV_MULT 1000000L |
50 | #define TV_MULT 1000000L |
54 | |
51 | |
55 | #if IOM_IO |
52 | #if IOM_IO |