From a69c57b865d9cfea17213b47b98e6cba8b95d5a9 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 8 Oct 2017 10:44:59 +0300 Subject: [PATCH] Automatically define LINUX, ifdef __linux__ --- include/unixconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */