mirror of https://github.com/flysand7/ciabatta.git
make errno great again
This commit is contained in:
parent
f80957583b
commit
293b812a03
|
@ -1,4 +1,4 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
int errno;
|
||||
_Thread_local int errno;
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
#define ERANGE 3
|
||||
|
||||
// TODO: make it thread-local
|
||||
extern int errno;
|
||||
extern _Thread_local int errno;
|
||||
|
|
Loading…
Reference in New Issue