libc-rs/libc-test/test/linux_strerror_r.rs

13 lines
316 B
Rust

#![allow(bad_style, improper_ctypes, unused, deprecated)]
extern crate libc;
use libc::*;
#[cfg(any(target_os = "linux", target_os = "android"))]
include!(concat!(env!("OUT_DIR"), "/linux_strerror_r.rs"));
#[cfg(not(any(target_os = "linux", target_os = "android")))]
fn main() {
println!("PASSED 0 tests");
}