date and time created 88/06/01 18:39:47 by bostic
[unix-history] / usr / src / games / sail / machdep.h
CommitLineData
cca8f52e 1/*
1e008c14 2 * Copyright (c) 1983 Regents of the University of California.
c0ca48ec 3 * All rights reserved.
1e008c14 4 *
c0ca48ec
KB
5 * Redistribution and use in source and binary forms are permitted
6 * provided that this notice is preserved and that due credit is given
7 * to the University of California at Berkeley. The name of the University
8 * may not be used to endorse or promote products derived from this
9 * software without specific prior written permission. This software
10 * is provided ``as is'' without express or implied warranty.
11 *
12 * @(#)machdep.h 5.2 (Berkeley) %G%
cca8f52e 13 */
cca8f52e 14
ba28d9ed 15#define LOGFILE "/usr/games/lib/saillog" /* has to match the makefile */
44c566e8 16
ba28d9ed 17#define TIMEOUT 300 /* Sync() timeout in seconds */
0022de6e
EW
18
19/* for 4.2bsd machines */
20#define blockalarm() ((void) sigblock(1 << SIGALRM-1))
21#define unblockalarm() ((void) sigsetmask(sigblock(0) & ~(1 << SIGALRM-1)))
22
23/* for 2.9bsd machines (onyx)
24typedef int void;
25#define blockalarm() ((void) sighold(SIGALRM))
26#define unblockalarm() ((void) sigrelse(SIGALRM))
27*/