summaryrefslogtreecommitdiffstats
path: root/third_party/rust/audioipc2/build.rs
blob: 453dafad96481449493be335cddb1f3687778334 (plain)
1
2
3
4
5
6
7
fn main() {
    if std::env::var_os("CARGO_CFG_UNIX").is_some() {
        cc::Build::new()
            .file("src/sys/unix/cmsghdr.c")
            .compile("cmsghdr");
    }
}