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