diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-07-11 01:55:59 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-07-11 01:55:59 +0200 |
| commit | 0dfc660c71f366c8863d982b758a5610de2fc2ed (patch) | |
| tree | 7cd108ab1c97103e424b0591c8971b0ec38ce967 | |
| parent | 40625b24e2f08a20cafefc10bf4d13db9a3a93cc (diff) | |
allow `core:mem/virtual` import on more targets by expanding the `other` implementation
| -rw-r--r-- | core/mem/virtual/virtual_other.odin (renamed from core/mem/virtual/virtual_bsd.odin) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/mem/virtual/virtual_bsd.odin b/core/mem/virtual/virtual_other.odin index 12e7818ef..96d9683c4 100644 --- a/core/mem/virtual/virtual_bsd.odin +++ b/core/mem/virtual/virtual_other.odin @@ -1,5 +1,7 @@ -//+build freebsd, openbsd, netbsd //+private +//+build !darwin +//+build !linux +//+build !windows package mem_virtual _reserve :: proc "contextless" (size: uint) -> (data: []byte, err: Allocator_Error) { |