Commit | Line | Data |
---|---|---|
cca8f52e | 1 | /* |
b5f0675e EW |
2 | * Copyright (c) 1983 Regents of the University of California, |
3 | * All rights reserved. Redistribution permitted subject to | |
4 | * the terms of the Berkeley Software License Agreement. | |
5 | */ | |
6 | ||
7 | /* | |
8 | * @(#)machdep.h 2.7 %G% | |
cca8f52e | 9 | */ |
cca8f52e | 10 | |
ba28d9ed | 11 | #define LOGFILE "/usr/games/lib/saillog" /* has to match the makefile */ |
44c566e8 | 12 | |
ba28d9ed | 13 | #define TIMEOUT 300 /* Sync() timeout in seconds */ |
0022de6e EW |
14 | |
15 | /* for 4.2bsd machines */ | |
16 | #define blockalarm() ((void) sigblock(1 << SIGALRM-1)) | |
17 | #define unblockalarm() ((void) sigsetmask(sigblock(0) & ~(1 << SIGALRM-1))) | |
18 | ||
19 | /* for 2.9bsd machines (onyx) | |
20 | typedef int void; | |
21 | #define blockalarm() ((void) sighold(SIGALRM)) | |
22 | #define unblockalarm() ((void) sigrelse(SIGALRM)) | |
23 | */ |