Browse Source

allow `core:mem/virtual` import on more targets by expanding the `other` implementation

Laytan Laats 1 year ago
parent
commit
0dfc660c71
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) {