Skip to content
Snippets Groups Projects
Commit f01c6697 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Remove thread local from errno, for now

parent 85b80d0f
No related branches found
No related tags found
No related merge requests found
#ifndef _BITS_ERRNO_H
#define _BITS_ERRNO_H
extern __thread int errno;
//TODO extern __thread int errno;
extern int errno;
#endif /* _BITS_ERRNO_H */
......@@ -2,7 +2,7 @@
#![no_std]
#![allow(non_camel_case_types)]
#![feature(thread_local)]
//TODO #![feature(thread_local)]
#[cfg(all(not(feature = "no_std"), target_os = "linux"))]
#[macro_use]
......@@ -28,7 +28,7 @@ use core::fmt;
use types::*;
#[thread_local]
//TODO #[thread_local]
#[no_mangle]
pub static mut errno: c_int = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment