From 27a3f2ab77815a2769f5e22e34a5be6cfa569487 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Wed, 20 Feb 2019 22:11:25 +0100 Subject: [PATCH] unistd: Generate correct C defines for PATH_SEPARATOR --- src/header/unistd/cbindgen.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/header/unistd/cbindgen.toml b/src/header/unistd/cbindgen.toml index 2c03074df9..585796ed34 100644 --- a/src/header/unistd/cbindgen.toml +++ b/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__"