diff options
-rw-r--r-- | src/sys2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index b7afd5822..b39ef9907 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -527,6 +527,10 @@ enum # define SIZE_MAX TYPE_MAXIMUM (size_t) #endif +#ifndef UINTMAX_MAX +# define UINTMAX_MAX TYPE_MAXIMUM (uintmax_t) +#endif + #ifndef OFF_T_MIN # define OFF_T_MIN TYPE_MINIMUM (off_t) #endif |