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
+1 -1
View File
@@ -293,7 +293,7 @@
* Minimum Acceptable Value: 10000 * Minimum Acceptable Value: 10000
*/ */
#define TMP_MAX10000 #define TMP_MAX 10000
/* Required for asynchronous I/O */ /* Required for asynchronous I/O */
+11
View File
@@ -48,6 +48,7 @@
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <nuttx/compiler.h>
#include <nuttx/streams.h> #include <nuttx/streams.h>
#include "lib_dtoa_engine.h" #include "lib_dtoa_engine.h"
@@ -57,6 +58,16 @@
* Pre-processor Definitions * 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 #ifdef putc
# undef putc # undef putc
#endif #endif