1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

extern crate libc;

#[cfg(feature = "use_bindgen")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(all(not(feature = "use_bindgen"),
          target_os="linux",
          target_arch="x86_64"))]
include!(concat!("platforms/linux/x86_64/bindings.rs"));