diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c new file mode 100644 index 0000000000..7768612da2 --- /dev/null +++ b/components/libc/newlib/syscalls.c @@ -0,0 +1,8 @@ +#include + +int _fork_r (struct _reent *ptr) +{ + /* return "not supported" */ + ptr->errno = ENOTSUP; + return -1; +}