am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"

* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749':
  Remove SIZE_MAX definition in limits.h
This commit is contained in:
Elliott Hughes 2014-04-01 23:59:49 +00:00 committed by Android Git Automerger
commit 099c13b925
6 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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