MB_LEN_MAX is not MD, move it to the MI limits.h.
This commit is contained in:
parent
9361856c8a
commit
b30a7779d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108175
@ -123,6 +123,8 @@
|
|||||||
#define NL_TEXTMAX 2048
|
#define NL_TEXTMAX 2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MB_LEN_MAX 6 /* 31-bit UTF-8 */
|
||||||
|
|
||||||
#include <machine/limits.h>
|
#include <machine/limits.h>
|
||||||
|
|
||||||
#if __POSIX_VISIBLE
|
#if __POSIX_VISIBLE
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#define _MACHINE_LIMITS_H_
|
#define _MACHINE_LIMITS_H_
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#define CHAR_BIT 8 /* number of bits in a char */
|
||||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
* According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||||
|
Loading…
Reference in New Issue
Block a user