aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/machine.h b/machine.h
index 8f02b619..fdd5c68f 100644
--- a/machine.h
+++ b/machine.h
@@ -94,6 +94,7 @@ enum {
OS_NETBSD,
OS_OPENBSD,
OS_SUNOS,
+ OS_UNIX,
OS_UNKNOWN,
};
@@ -111,6 +112,8 @@ enum {
#define OS_NATIVE OS_OPENBSD
#elif defined(__sun__) || defined(__sun)
#define OS_NATIVE OS_SUNOS
+#elif defined(__unix__) || defined(__unix)
+#define OS_UNIX OS_UNIX
#else
#define OS_NATIVE OS_UNKNOWN
#endif