File: const_fn.rs

package info (click to toggle)
rust-libc 0.2.175-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,884 kB
  • sloc: makefile: 4
file content (3 lines) | stat: -rw-r--r-- 145 bytes parent folder | download | duplicates (21)
1
2
3
#[cfg(target_os = "linux")]
const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
//^ if CMSG_SPACE is not const, this will fail to compile