浏览代码

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

Laytan Laats 1 年之前
父节点
当前提交
0dfc660c71
共有 1 个文件被更改,包括 3 次插入1 次删除
  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) {