mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
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:
committed by
Alin Jerpelea
parent
66057a4612
commit
4665a3d648
@@ -76,8 +76,10 @@ namespace std
|
|||||||
using ::fwrite;
|
using ::fwrite;
|
||||||
using ::gets;
|
using ::gets;
|
||||||
using ::gets_s;
|
using ::gets_s;
|
||||||
|
#ifndef CONFIG_STDIO_DISABLE_BUFFERING
|
||||||
using ::setbuf;
|
using ::setbuf;
|
||||||
using ::setvbuf;
|
using ::setvbuf;
|
||||||
|
#endif
|
||||||
using ::ungetc;
|
using ::ungetc;
|
||||||
|
|
||||||
// Operations on the stdout stream, buffers, paths, and the whole printf-family
|
// Operations on the stdout stream, buffers, paths, and the whole printf-family
|
||||||
|
|||||||
Reference in New Issue
Block a user