Improved Windows support

This commit is contained in:
Eduard Urbach 2024-08-19 17:25:51 +02:00
parent a7835a4494
commit 32ae625af4
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 50 additions and 8 deletions

5
lib/mem/alloc_windows.q Normal file
View file

@ -0,0 +1,5 @@
import sys
alloc(length Int) -> Pointer {
return sys.mmap(0, length, 0x0004, 0x3000)
}