From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id B64AA1F463 for ; Mon, 25 Nov 2019 09:34:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727295AbfKYJeB (ORCPT ); Mon, 25 Nov 2019 04:34:01 -0500 Received: from cloud.peff.net ([104.130.231.41]:59714 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727006AbfKYJeB (ORCPT ); Mon, 25 Nov 2019 04:34:01 -0500 Received: (qmail 25418 invoked by uid 109); 25 Nov 2019 09:34:01 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Mon, 25 Nov 2019 09:34:01 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 16830 invoked by uid 111); 25 Nov 2019 09:38:00 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Mon, 25 Nov 2019 04:38:00 -0500 Authentication-Results: peff.net; auth=none Date: Mon, 25 Nov 2019 04:34:00 -0500 From: Jeff King To: Junio C Hamano Cc: Hariom Verma via GitGitGadget , git@vger.kernel.org, Hariom Verma Subject: Re: [PATCH 1/1] git-compat-util.h: drop the `PRIuMAX` definition Message-ID: <20191125093400.GA25851@sigill.intra.peff.net> References: <177deddcf83c2550c0db536a7a6942ba69a92fa5.1574600963.git.gitgitgadget@gmail.com> <20191124170643.GA16907@sigill.intra.peff.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Mon, Nov 25, 2019 at 11:45:29AM +0900, Junio C Hamano wrote: > Junio C Hamano 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