am f1bfc878
: Merge "Remove SIZE_MAX definition in limits.h"
* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749': Remove SIZE_MAX definition in limits.h
This commit is contained in:
commit
099c13b925
@ -39,9 +39,6 @@
|
||||
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX UINT_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#ifndef SSIZE_MAX
|
||||
#define SSIZE_MAX INT_MAX /* max value for a ssize_t */
|
||||
#endif
|
||||
|
@ -44,9 +44,6 @@
|
||||
#define LONGLONG_MAX 9223372036854775807LL
|
||||
#define ULONGLONG_MAX 18446744073709551615ULL
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ULONGLONG_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#ifndef SSIZE_MAX
|
||||
#define SSIZE_MAX LONGLONG_MAX /* max value for a ssize_t */
|
||||
#endif
|
||||
|
@ -38,9 +38,6 @@
|
||||
|
||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ULONG_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
|
@ -38,9 +38,6 @@
|
||||
|
||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ULONG_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
|
@ -39,9 +39,6 @@
|
||||
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX UINT_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#ifndef SSIZE_MAX
|
||||
#define SSIZE_MAX INT_MAX /* max value for a ssize_t */
|
||||
#endif
|
||||
|
@ -37,9 +37,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if __POSIX_VISIBLE || __XPG_VISIBLE
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ULONG_MAX /* max value for a size_t */
|
||||
#endif
|
||||
#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user