|
Lines 305-315
Link Here
|
| 305 |
struct timeval *tout) |
305 |
struct timeval *tout) |
| 306 |
{ |
306 |
{ |
| 307 |
static struct timeval polltv = { |
307 |
static struct timeval polltv = { |
| 308 |
#if CLOCKS_PER_SEC > 1 |
308 |
0, CLOCKS_PER_SEC > 1 ? 1000000 / CLOCKS_PER_SEC : 10000 |
| 309 |
0, 1000000 / CLOCKS_PER_SEC |
|
|
| 310 |
#else |
| 311 |
0, 10000 |
| 312 |
#endif |
| 313 |
}; |
309 |
}; |
| 314 |
int m; |
310 |
int m; |
| 315 |
struct timeval tv; |
311 |
struct timeval tv; |
|
Lines 779-789
Link Here
|
| 779 |
#endif |
775 |
#endif |
| 780 |
|
776 |
|
| 781 |
static struct timeval display_delta = { |
777 |
static struct timeval display_delta = { |
| 782 |
#if CLOCKS_PER_SEC > 1 |
778 |
0, CLOCKS_PER_SEC > 1 ? 1000000 / CLOCKS_PER_SEC : 10000 |
| 783 |
0, 1000000 / CLOCKS_PER_SEC, |
|
|
| 784 |
#else |
| 785 |
0, 10000 |
| 786 |
#endif |
| 787 |
}; |
779 |
}; |
| 788 |
|
780 |
|
| 789 |
static int |
781 |
static int |