diff options
| author | Ronald Kinard <[email protected]> | 2017-07-10 10:03:38 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-10 10:03:38 -0500 |
| commit | 9ecf14ee0814a5fb7fe24b2222347b72c9c81189 (patch) | |
| tree | b13939b2c16939c4aa1f827f1aeb736efeb4e60a /ctr-std/src/sys_common/mod.rs | |
| parent | Merge pull request #30 from kentaromiura/compile_again (diff) | |
| parent | Update README (diff) | |
| download | archived-ctru-rs-9ecf14ee0814a5fb7fe24b2222347b72c9c81189.tar.xz archived-ctru-rs-9ecf14ee0814a5fb7fe24b2222347b72c9c81189.zip | |
Merge pull request #32 from FenrirWolf/libc-update
Remove `ctr-libc`, use upstream `libc` from crates.io
Diffstat (limited to 'ctr-std/src/sys_common/mod.rs')
| -rw-r--r-- | ctr-std/src/sys_common/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ctr-std/src/sys_common/mod.rs b/ctr-std/src/sys_common/mod.rs index 936ff80..6f47466 100644 --- a/ctr-std/src/sys_common/mod.rs +++ b/ctr-std/src/sys_common/mod.rs @@ -27,6 +27,7 @@ pub mod at_exit_imp; pub mod condvar; pub mod io; +pub mod memchr; pub mod mutex; pub mod poison; pub mod remutex; @@ -76,10 +77,6 @@ pub fn at_exit<F: FnOnce() + Send + 'static>(f: F) -> Result<(), ()> { if at_exit_imp::push(Box::new(f)) {Ok(())} else {Err(())} } -macro_rules! rtabort { - ($($t:tt)*) => (::sys_common::util::abort(format_args!($($t)*))) -} - // Computes (value*numer)/denom without overflow, as long as both // (numer*denom) and the overall result fit into i64 (which is the case // for our time conversions). |