summaryrefslogtreecommitdiff
path: root/lib/sys
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-06-27 20:38:20 -0700
committerOri Bernstein <ori@eigenstate.org>2018-06-30 23:07:17 -0700
commit83ac0784c67f15c98b62cdacc660be63c447474a (patch)
tree6dc30681fc34fb62ced5d73f413ac896165c215a /lib/sys
parentcef2d4ebd48ab554330e49f8961547e05df47127 (diff)
downloadmc-83ac0784c67f15c98b62cdacc660be63c447474a.tar.gz
Fix build on OSX: Export missing sys.cstring functionr0.3.1
Diffstat (limited to 'lib/sys')
-rw-r--r--lib/sys/sys+osx-x64.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/sys+osx-x64.myr b/lib/sys/sys+osx-x64.myr
index e260889..1917ffe 100644
--- a/lib/sys/sys+osx-x64.myr
+++ b/lib/sys/sys+osx-x64.myr
@@ -839,6 +839,7 @@ pkg sys =
const ulock_wait : (op : ulockop, uaddr : uint64#, val : uint64, timeout : uint32 -> int)
const ulock_wake : (op : ulockop, uaddr : uint64#, wakeval : uint64 -> int)
+ extern const cstring : (str : byte[:] -> byte#)
/* filled by start code */
extern var __cenvp : byte##
;;
@@ -865,7 +866,6 @@ extern const __osx_thread_selfid
extern const __osx_vfork
*/
-extern const cstring : (str : byte[:] -> byte#)
extern const alloca : (sz : size -> byte#)
/* process control */