From: Pasi Kallinen Date: Sun, 8 Oct 2017 07:44:59 +0000 (+0300) Subject: Automatically define LINUX, ifdef __linux__ X-Git-Tag: NetHack-3.6.1_RC01~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a69c57b865d9cfea17213b47b98e6cba8b95d5a9;p=nethack Automatically define LINUX, ifdef __linux__ --- diff --git a/include/unixconf.h b/include/unixconf.h index 236994bce..0d4fbce17 100644 --- a/include/unixconf.h +++ b/include/unixconf.h @@ -36,7 +36,9 @@ #define NETWORK /* if running on a networked system */ /* e.g. Suns sharing a playground through NFS */ /* #define SUNOS4 */ /* SunOS 4.x */ -/* #define LINUX */ /* Another Unix clone */ +#ifdef __linux__ +#define LINUX /* Another Unix clone */ +#endif /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */ /* #define GENIX */ /* Yet Another Unix Clone */ /* #define HISX */ /* Bull Unix for XPS Machines */