diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-07-11 02:12:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-11 02:12:53 +0200 |
| commit | a8ce5bd005840cf0998f91869320e9dbf7d34e70 (patch) | |
| tree | 818f431d33479802f2bf111b4f8c38f8e09b414c | |
| parent | c49afb0039a1527fbe42505af73000fcc7e3ad08 (diff) | |
| parent | 0dfc660c71f366c8863d982b758a5610de2fc2ed (diff) | |
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
| -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) { |