summaryrefslogtreecommitdiff
path: root/libc/libc-test/test/linux_strerror_r.rs
blob: 17db959d8cb933edc21f6165bc1c5be225ac1174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![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");
}