mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Merge pull request #3903 from laytan/allow-mem-virtual-import-on-more-targets
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