Remove <machine/limits.h>.

Change-Id: I7f9e9538517f726d4f08bf1f4b8d57c54d3f1676
This commit is contained in:
Elliott Hughes
2014-04-01 17:16:59 -07:00
parent f1bfc8781e
commit 1b0dc40980
8 changed files with 9 additions and 352 deletions

View File

@@ -105,6 +105,15 @@
#define ULONG_LONG_MAX ULLONG_MAX
#endif
/* BSD compatibility definitions. */
#if __BSD_VISIBLE
#define SIZE_T_MAX ULONG_MAX
#endif /* __BSD_VISIBLE */
#define SSIZE_MAX LONG_MAX
#define MB_LEN_MAX 1 /* No multibyte characters. */
/* New code should use sysconf(_SC_PAGE_SIZE) instead. */
#ifndef PAGE_SIZE
#define PAGE_SIZE 4096