Переглянути джерело

unistd: Generate correct C defines for PATH_SEPARATOR

Tibor Nagy 6 роки тому
батько
коміт
27a3f2ab77
1 змінених файлів з 4 додано та 0 видалено
  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__"