Fix errno
This commit is contained in:
parent
a6e8647114
commit
b8576dd554
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@
|
|||
but that library has been removed. */
|
||||
int errno;
|
||||
|
||||
/* newlib uses __errno in some contexts */
|
||||
int *__errno(void) {
|
||||
return &errno;
|
||||
}
|
||||
|
||||
/* libc memory management functions.
|
||||
|
||||
Many of these are linked from the RTOS SDK blob libraries.
|
||||
|
|
Loading…
Reference in a new issue