mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
libs/libc/stdio/lib_libvsprintf.c and include/limits.h: Some minor corrections.
This commit is contained in:
+1
-1
@@ -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 */
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user