summaryrefslogtreecommitdiff
path: root/tests/std
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-06-27 10:47:41 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-06-27 10:47:41 -0400
commit7e47f52a21fb73dde9e59fe1f0b5957ec119ccfd (patch)
tree8954c988a19882f7c537f27d450b72ed10829a6f /tests/std
parent8080bfbe4a757d7a7d895654da6424d789e6d33c (diff)
#init
Diffstat (limited to 'tests/std')
-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;
+