mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 01:15:26 +08:00
Merge pull request #1639 from liangyongxiang/console-device
[libc] dependence update:
This commit is contained in:
commit
41c27cce5e
@ -189,7 +189,7 @@ int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode)
|
|||||||
|
|
||||||
if ((fh == STDOUT) || (fh == STDERR))
|
if ((fh == STDOUT) || (fh == STDERR))
|
||||||
{
|
{
|
||||||
#ifndef RT_USING_CONSOLE
|
#if !defined(RT_USING_CONSOLE) || !defined(RT_USING_DEVICE)
|
||||||
return 0;
|
return 0;
|
||||||
#else
|
#else
|
||||||
#ifdef RT_USING_POSIX
|
#ifdef RT_USING_POSIX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user