From 7e47f52a21fb73dde9e59fe1f0b5957ec119ccfd Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum <pommicket@gmail.com> Date: Sat, 27 Jun 2020 10:47:41 -0400 Subject: #init --- tests/std/base.toc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/std') 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; + -- cgit v1.2.3