ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h
This commit is contained in:
parent
cd9da74cbc
commit
737c3edeba
5 changed files with 85 additions and 34 deletions
|
@ -47,7 +47,7 @@
|
|||
#define _POSIX_SEM_NSEMS_MAX 256
|
||||
#define _POSIX_SEM_VALUE_MAX 32767
|
||||
#define _POSIX_SIGQUEUE_MAX 32
|
||||
#define _POSIX_SSIZE_MAX 32767
|
||||
#define _POSIX_SSIZE_MAX SSIZE_MAX
|
||||
#define _POSIX_STREAM_MAX 8
|
||||
#define _POSIX_TIMER_MAX 32
|
||||
#define _POSIX_TZNAME_MAX 3
|
||||
|
@ -76,6 +76,7 @@
|
|||
/*#define SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX */
|
||||
/*#define SIGQUEUE_MAX _POSIX_SIGQUEUE_MAX */
|
||||
#define SSIZE_MAX LONG_MAX
|
||||
#define SIZE_MAX ULONG_MAX
|
||||
/*#define STREAM_MAX _POSIX_STREAM_MAX */
|
||||
/*#define TIMER_MAX _POSIX_TIMER_MAX */
|
||||
#define TZNAME_MAX _POSIX_TZNAME_MAX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue