]> granicus.if.org Git - nethack/commitdiff
Automatically define LINUX, ifdef __linux__
authorPasi Kallinen <paxed@alt.org>
Sun, 8 Oct 2017 07:44:59 +0000 (10:44 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 8 Oct 2017 07:44:59 +0000 (10:44 +0300)
include/unixconf.h

index 236994bce124347972b9e18b8773809bd64898f2..0d4fbce17723b2102e7e3bd669a123eaadcbbfe4 100644 (file)
@@ -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 */