libs/libc/stdio/lib_libvsprintf.c and include/limits.h: Some minor corrections.

This commit is contained in:
Gregory Nutt 2019-02-21 14:52:44 -06:00
parent d7586c27a5
commit 40889daf97
2 changed files with 12 additions and 1 deletions

View File

@ -293,7 +293,7 @@
* Minimum Acceptable Value: 10000
*/
#define TMP_MAX10000
#define TMP_MAX 10000
/* Required for asynchronous I/O */

View File

@ -48,6 +48,7 @@
#include <string.h>
#include <limits.h>
#include <nuttx/compiler.h>
#include <nuttx/streams.h>
#include "lib_dtoa_engine.h"
@ -57,6 +58,16 @@
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_LIBC_LONG_LONG is not a valid selection of the compiler does not
* support long long types.
*/
#ifndef CONFIG_HAVE_LONG_LONG
# undef CONFIG_LIBC_LONG_LONG
#endif
/* [Re]define putc() */
#ifdef putc
# undef putc
#endif