Browse Source

unistd: Generate correct C defines for PATH_SEPARATOR

Tibor Nagy 6 năm trước cách đây
mục cha
commit
27a3f2ab77
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/header/unistd/cbindgen.toml

+ 4 - 0
src/header/unistd/cbindgen.toml

@@ -6,3 +6,7 @@ style = "Tag"
 
 [enum]
 prefix_with_name = true
+
+[defines]
+"target_os = linux" = "__linux__"
+"target_os = redox" = "__redox__"