cstdio:Fixed compile error with CONFIG_STDIO_DISABLE_BUFFERING lit.
Resolves compiler error introduced by 57dfb9 when using cpp with CONFIG_STDIO_DISABLE_BUFFERING lit. NuttX/nuttx/include/cxx/cstdio:79:11: error: '::setbuf' has not been declared using ::setbuf;
This commit is contained in:
parent
66057a4612
commit
4665a3d648
@ -76,8 +76,10 @@ namespace std
|
||||
using ::fwrite;
|
||||
using ::gets;
|
||||
using ::gets_s;
|
||||
#ifndef CONFIG_STDIO_DISABLE_BUFFERING
|
||||
using ::setbuf;
|
||||
using ::setvbuf;
|
||||
#endif
|
||||
using ::ungetc;
|
||||
|
||||
// Operations on the stdout stream, buffers, paths, and the whole printf-family
|
||||
|
Loading…
Reference in New Issue
Block a user