瀏覽代碼

use b32 for boolean_t

Beau McCartney 11 月之前
父節點
當前提交
58745bc7ae
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/sys/darwin/mach_darwin.odin

+ 2 - 1
core/sys/darwin/mach_darwin.odin

@@ -19,7 +19,8 @@ vm_size_t :: distinct c.uintptr_t
 vm_address_t :: vm_offset_t
 vm_offset_t :: distinct c.uintptr_t
 
-boolean_t :: distinct c.int
+// NOTE(beau): typedefed to int in the original headers
+boolean_t :: b32
 
 vm_prot_t :: distinct c.int