summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUser Vagrant <jebarker@gmail.com>2015-12-19 18:13:52 +0000
committerCarl Lerche <me@carllerche.com>2016-01-18 21:29:39 -0800
commitc35e7f87818d73dd655e74f8c8853ef7ae077054 (patch)
tree929c425478dcbf0863a05327a9e5180d92425624 /src
parent8d4d60fdda07e4f1d4877d67c47ddf8d8a679349 (diff)
downloadnix-c35e7f87818d73dd655e74f8c8853ef7ae077054.zip
Update to libc 0.2.4
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1dcc71ee..6b321ba2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -51,14 +51,7 @@ use std::os::unix::ffi::OsStrExt;
use std::io;
use std::fmt;
use std::error;
-
-#[cfg(any(target_os = "openbsd", target_os = "netbsd", target_os = "bitrig", target_os = "macos", target_os = "ios"))]
use libc::PATH_MAX;
-#[cfg(not(any(target_os = "openbsd", target_os = "netbsd", target_os = "bitrig", target_os = "macos", target_os = "ios")))]
-const PATH_MAX: c_int = 1024;
-
-
-
pub type Result<T> = result::Result<T, Error>;