X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/e8776ccd627d33fdbf0fc2746a2bfb62765c24a4..d31f4a790046b7a6ebd1099dd474908c50b947b9:/mptypes.c diff --git a/mptypes.c b/mptypes.c index 9796d5c6..922eae4a 100644 --- a/mptypes.c +++ b/mptypes.c @@ -56,7 +56,7 @@ /* --- Choose the largest integer type --- */ -#if defined(UINTMAX_MAX) +#if defined(UINTMAX_MAX) && defined(PRIuMAX) typedef uintmax_t umax; # define P_UMAX PRIuMAX #elif defined(ULLONG_MAX)