Automatically define LINUX, ifdef __linux__

This commit is contained in:
Pasi Kallinen
2017-10-08 10:44:59 +03:00
parent e8ef27d985
commit a69c57b865
+3 -1
View File
@@ -36,7 +36,9 @@
#define NETWORK /* if running on a networked system */ #define NETWORK /* if running on a networked system */
/* e.g. Suns sharing a playground through NFS */ /* e.g. Suns sharing a playground through NFS */
/* #define SUNOS4 */ /* SunOS 4.x */ /* #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 CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */
/* #define GENIX */ /* Yet Another Unix Clone */ /* #define GENIX */ /* Yet Another Unix Clone */
/* #define HISX */ /* Bull Unix for XPS Machines */ /* #define HISX */ /* Bull Unix for XPS Machines */