Fixed memory allocation on MacOS
This commit is contained in:
5
lib/mem/alloc_linux.q
Normal file
5
lib/mem/alloc_linux.q
Normal file
@ -0,0 +1,5 @@
|
||||
import sys
|
||||
|
||||
alloc(length Int) -> Pointer {
|
||||
return sys.mmap(0, length, 0x1|0x2, 0x02|0x20)
|
||||
}
|
Reference in New Issue
Block a user