diff options
Diffstat (limited to 'tests/std')
-rw-r--r-- | tests/std/base.toc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/std/base.toc b/tests/std/base.toc index 54d64d6..0bd707e 100644 --- a/tests/std/base.toc +++ b/tests/std/base.toc @@ -7,6 +7,8 @@ PLATFORM_OPENBSD ::= 5; PLATFORM_MISC_UNIX ::= 6; PLATFORM ::= #builtin("platform"); +PLATFORM_IS_UNIX :: bool = PLATFORM == PLATFORM_LINUX || PLATFORM == PLATFORM_OSX || PLATFORM == PLATFORM_FREEBSD + || PLATFORM == PLATFORM_OPENBSD || PLATFORM == PLATFORM_MISC_UNIX; #if PLATFORM == PLATFORM_LINUX { libc ::= "libc.so.6"; } elif PLATFORM == PLATFORM_WINDOWS { @@ -20,7 +22,4 @@ 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; - |