mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
[libc]rename group name
This commit is contained in:
@@ -15,6 +15,6 @@ if rtconfig.PLATFORM == 'iar':
|
||||
if LooseVersion(IARVersion()) < LooseVersion("8.20.1"):
|
||||
CPPDEFINES = CPPDEFINES + ['_DLIB_THREAD_SUPPORT']
|
||||
|
||||
group = DefineGroup('compiler-libc', src, depend = [], CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
||||
|
||||
Return('group')
|
||||
|
||||
@@ -42,7 +42,7 @@ size_t __read(int handle, unsigned char *buf, size_t len)
|
||||
#ifdef RT_USING_POSIX_DEVIO
|
||||
if (libc_stdio_get_console() < 0)
|
||||
{
|
||||
LOG_W("Do not invoke standard input before initializing compiler-libc");
|
||||
LOG_W("Do not invoke standard input before initializing Compiler");
|
||||
return 0; /* error, but keep going */
|
||||
}
|
||||
return read(STDIN_FILENO, buf, len); /* return the length of the data read */
|
||||
|
||||
Reference in New Issue
Block a user