Fix platform
- Add cfg to extern crate sc. It is not used by redox. - Fix bad syntax in brk implementation for redox - nits - style: update brk implementation for linux - style: no space between not operator and ptr.is_null - style: should be a space around = in module path
This commit is contained in:
committed by
Dan Robertson
parent
a808dfe39c
commit
2096b85115
@@ -3,6 +3,7 @@
|
||||
#![no_std]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
#[cfg(all(not(feature="no_std"), target_os = "linux"))]
|
||||
#[macro_use]
|
||||
extern crate sc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user