Skip to content
Snippets Groups Projects
Commit 0581f926 authored by Mackenzie Clark's avatar Mackenzie Clark
Browse files

add exception for msvc

parent e92ed6d0
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ fn main() {
let x86_64 = target.contains("x86_64");
let x32 = target.ends_with("gnux32");
let windows = target.contains("windows");
let msvc = target.contains("windows-msvc");
let mingw = target.contains("windows-gnu");
let linux = target.contains("unknown-linux");
let android = target.contains("android");
......@@ -712,6 +713,9 @@ fn main() {
s if ios && s.starts_with("RTV_") => true,
s if ios && s.starts_with("DLT_") => true,
// these constants do not exist in msvc, but they are still useful
"STDIN_FILENO" | "STDOUT_FILENO" | "STDERR_FILENO" if msvc => true,
_ => false,
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment