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:
David Sidrane 2020-09-24 03:16:03 -07:00 committed by Alin Jerpelea
parent 66057a4612
commit 4665a3d648

View File

@ -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