Revert "add exception for msvc"

This reverts commit 0581f926ff.
This commit is contained in:
Mackenzie Clark 2018-12-20 15:28:12 -08:00
parent 975eb6b5c7
commit 3ce82dd39f

View File

@ -11,7 +11,6 @@ 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");
@ -713,9 +712,6 @@ 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,
}
});