Browse Source

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
Jeroen van Rijn 1 year ago
parent
commit
a8ce5bd005
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/mem/virtual/virtual_other.odin

+ 3 - 1
core/mem/virtual/virtual_bsd.odin → 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) {