summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Osborne <osbpau@gmail.com>2015-09-05 17:54:21 -0500
committerCarl Lerche <me@carllerche.com>2015-09-15 10:38:18 -0700
commit0fd0337e0f55b0f5b976c22bbe97fe49a2875bf0 (patch)
tree49075bde2fd0d328b3da98743c37b2e117e2aea9
parent042b8c8ef94a2e8e54978babdf6d329dc0079882 (diff)
downloadnix-0fd0337e0f55b0f5b976c22bbe97fe49a2875bf0.zip
ioctl: only run ioctl doctest under linux
-rw-r--r--src/sys/ioctl/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/ioctl/mod.rs b/src/sys/ioctl/mod.rs
index 94018521..872da39f 100644
--- a/src/sys/ioctl/mod.rs
+++ b/src/sys/ioctl/mod.rs
@@ -51,6 +51,7 @@
//! pub pad: u32,
//! }
//!
+//! #[cfg(linux)]
//! mod ioctl {
//! use super::*;
//!