Forráskód Böngészése

unistd: Generate correct C defines for PATH_SEPARATOR

Tibor Nagy 6 éve
szülő
commit
27a3f2ab77
1 módosított fájl, 4 hozzáadás és 0 törlés
  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__"