mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
include/wchar.h: Remove NULL macro from it
since the same macro is defined in sys/types.h and the comment out macro definition in stdint.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
375a64fed6
commit
7f3c540570
@@ -145,21 +145,6 @@
|
|||||||
# define UINTMAX_C(x) UINT32_C(x)
|
# define UINTMAX_C(x) UINT32_C(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Limits of Other Integer Types */
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
# define PTRDIFF_MIN
|
|
||||||
# define PTRDIFF_MAX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
# define WCHAR_MIN
|
|
||||||
# define WCHAR_MAX
|
|
||||||
|
|
||||||
# define WINT_MIN
|
|
||||||
# define WINT_MAX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -61,10 +61,6 @@
|
|||||||
#define WCHAR_MIN 0x0000
|
#define WCHAR_MIN 0x0000
|
||||||
#define WEOF ((wint_t)-1)
|
#define WEOF ((wint_t)-1)
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
# define NULL ((FAR void *)0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define wcsftime_l(s, m, f, t, l) wcsftime(s, m, f, t)
|
#define wcsftime_l(s, m, f, t, l) wcsftime(s, m, f, t)
|
||||||
#define wcscasecmp_l(s1, s2, l) wcscasecmp(s1, s2)
|
#define wcscasecmp_l(s1, s2, l) wcscasecmp(s1, s2)
|
||||||
#define wcsncasecmp_l(s1, s2, n, l) wcsncasecmp(s1, s2, n)
|
#define wcsncasecmp_l(s1, s2, n, l) wcsncasecmp(s1, s2, n)
|
||||||
|
|||||||
Reference in New Issue
Block a user