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

11 lines
283 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() {}