Re-fix _PC_NAME_MAX

This commit is contained in:
Alex Crichton 2015-09-10 17:15:31 -07:00
parent e7afdd81ba
commit c37f22ccd2
1 changed files with 3 additions and 0 deletions

View File

@ -5778,6 +5778,9 @@ pub mod funcs {
use types::os::arch::posix88::{gid_t, off_t, pid_t};
use types::os::arch::posix88::{ssize_t, uid_t};
#[cfg(target_os = "macos")]
pub const _PC_NAME_MAX: c_int = 3;
#[cfg(target_os = "linux")]
pub const _PC_NAME_MAX: c_int = 4;
#[cfg(not(target_os = "nacl"))]