From: deraadt Date: Thu, 15 Jan 2015 17:14:04 +0000 (+0000) Subject: all modern systems can do this SUSPEND thing X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0afc0f96b3d8b92668c6299600e68550fa929b2e;p=openbsd all modern systems can do this SUSPEND thing --- diff --git a/games/hack/config.h b/games/hack/config.h index c4078d914d0..96aa19e6bb2 100644 --- a/games/hack/config.h +++ b/games/hack/config.h @@ -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 diff --git a/games/hack/hack.ioctl.c b/games/hack/hack.ioctl.c index bf67a1d763b..fa63c9d9bbc 100644 --- a/games/hack/hack.ioctl.c +++ b/games/hack/hack.ioctl.c @@ -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 int dosuspend()