diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-03 16:09:10 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-03 16:09:10 -0400 |
commit | 119950ebde3c9f096d1866ba6448d6bd9b22d063 (patch) | |
tree | 35e6bb7a2507910ac784356baf25c2412b6959b6 /tests/std | |
parent | b25f392b221cea498ea7695f68828909734b51cd (diff) |
removed ability to evaluate a function before it is declared at compile time; that was causing too many problems
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; - |