mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
all modern systems can do this SUSPEND thing
This commit is contained in:
parent
e432a80783
commit
0afc0f96b3
@ -1,4 +1,4 @@
|
||||
/* * $OpenBSD: config.h,v 1.10 2014/03/11 08:02:36 guenther Exp $*/
|
||||
/* * $OpenBSD: config.h,v 1.11 2015/01/15 17:14:04 deraadt Exp $*/
|
||||
/* * $NetBSD: config.h,v 1.3 1995/03/23 08:29:15 cgd Exp $*/
|
||||
|
||||
/*
|
||||
@ -109,9 +109,7 @@
|
||||
|
||||
#define SHELL /* do not delete the '!' command */
|
||||
|
||||
#ifdef BSD
|
||||
#define SUSPEND /* let ^Z suspend the game */
|
||||
#endif /* BSD */
|
||||
#endif /* UNIX */
|
||||
|
||||
#ifdef CHDIR
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: hack.ioctl.c,v 1.6 2009/10/27 23:59:25 deraadt Exp $ */
|
||||
/* $OpenBSD: hack.ioctl.c,v 1.7 2015/01/15 17:14:04 deraadt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
|
||||
@ -81,7 +81,7 @@ setioctls()
|
||||
(void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
|
||||
}
|
||||
|
||||
#ifdef SUSPEND /* implies BSD */
|
||||
#ifdef SUSPEND
|
||||
#include <signal.h>
|
||||
int
|
||||
dosuspend()
|
||||
|
Loading…
Reference in New Issue
Block a user