Re: [PATCH 1/1] git-compat-util.h: drop the `PRIuMAX` definition
- From
Jeff King <peff@peff.net>
- Date
- Nov 25, 2019, 09:34 UTC
- Message-ID
- <20191125093400.GA25851@sigill.intra.peff.net>
- In-Reply-To
- <xmqqv9r8y8qe.fsf@gitster-ct.c.googlers.com>
On Mon, Nov 25, 2019 at 11:45:29AM +0900, Junio C Hamano wrote:
Show 10 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > > >> Can we likewise ditch the fallback definition for SCNuMAX? And PRIu32, > >> etc? It seems likely any platform would either have all of them or none. > > > > I guess that's also a C99-ism that we can use? > > > > Thanks, both. > > Here is what I have locally for now.
Yes, that looks good to me (and yes, those other format macros are in C99, too).
-Peff