4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 11:43:34 +08:00

modified: components/libc/newlib/libc.c

This commit is contained in:
pinhaozhang 2017-06-09 12:18:40 +08:00
parent 279fac7cbb
commit 1330a70207

View File

@ -47,8 +47,7 @@ int libc_system_init(void)
/* set PATH and HOME */
putenv("PATH=/bin");
putenv("HOME=/home");
#ifdef RT_USING_PTHREADS
#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT
pthread_system_init();
#endif