Merge pull request #746 from pinhaozhang/master
[libc] modified: components/libc/newlib/libc.c
This commit is contained in:
commit
5b03b01125
|
@ -47,8 +47,7 @@ int libc_system_init(void)
|
||||||
/* set PATH and HOME */
|
/* set PATH and HOME */
|
||||||
putenv("PATH=/bin");
|
putenv("PATH=/bin");
|
||||||
putenv("HOME=/home");
|
putenv("HOME=/home");
|
||||||
|
#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT
|
||||||
#ifdef RT_USING_PTHREADS
|
|
||||||
pthread_system_init();
|
pthread_system_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue