mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
allow core:mem/virtual import on more targets by expanding the other implementation
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
//+build freebsd, openbsd, netbsd
|
|
||||||
//+private
|
//+private
|
||||||
|
//+build !darwin
|
||||||
|
//+build !linux
|
||||||
|
//+build !windows
|
||||||
package mem_virtual
|
package mem_virtual
|
||||||
|
|
||||||
_reserve :: proc "contextless" (size: uint) -> (data: []byte, err: Allocator_Error) {
|
_reserve :: proc "contextless" (size: uint) -> (data: []byte, err: Allocator_Error) {
|
||||||
Reference in New Issue
Block a user