Include integer limits from generic stdint.h in system-specific stdint.h

This commit is contained in:
Ori Bernstein 2019-09-06 18:01:52 -07:00
parent c09546ccea
commit ff9ce8210a
4 changed files with 28 additions and 57 deletions

View file

@ -75,12 +75,13 @@
/*#define SEM_NSEMS_MAX _POSIX_SEM_NSEMS_MAX */
/*#define SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX */
/*#define SIGQUEUE_MAX _POSIX_SIGQUEUE_MAX */
#define SSIZE_MIN LONG_MIN
#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
#ifdef _LIMITS_EXTENSION
/* some things are just too big for pedagogy (X!) */
#include <sys/limits.h>