summaryrefslogtreecommitdiff
path: root/tests/std/base.toc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/std/base.toc')
-rw-r--r--tests/std/base.toc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/std/base.toc b/tests/std/base.toc
index bdb91e0..54d64d6 100644
--- a/tests/std/base.toc
+++ b/tests/std/base.toc
@@ -20,4 +20,7 @@ PLATFORM ::= #builtin("platform");
libc ::= "libc.so.6";
}
+PLATFORM_IS_UNIX :: bool = PLATFORM == PLATFORM_LINUX || PLATFORM == PLATFORM_OSX || PLATFORM == PLATFORM_FREEBSD
+ || PLATFORM == PLATFORM_OPENBSD || PLATFORM == PLATFORM_MISC_UNIX;
+