mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
Merge pull request #746 from pinhaozhang/master
[libc] modified: components/libc/newlib/libc.c
This commit is contained in:
commit
5b03b01125
1 file changed
+1
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user