From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 220113858D28 for ; Tue, 20 Jun 2023 20:25:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 220113858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="6.00,258,1681200000"; d="scan'208";a="9371952" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 20 Jun 2023 12:25:25 -0800 IronPort-SDR: BTcqJGZ+ZfZRd5mJiN8t4TT65amB7lHbvIcMfJAO1XMj/OH4U5g3Fy0+ABqXDewukaZW4g++NJ lIDvw138IxrG1aK4nPhTrouyhBR0TdfDV2QG7ihxU55cG0ZuHuY0VoNgQaqMFQkl19HrjV9xFj r9F50q4d7UqHwSrrvz+9ChXKlr6+PRzpzfIJgzJmTmNNFj0NTVibIZPw3pWk+gjeawwPtMANuq MkMgdanXIdsaGgjknFfylnvnQvszKJLxVy65dVQco4FKZz9aQiJ7HGuWjcCjomppBSnZcB1Lx6 QlY= Date: Tue, 20 Jun 2023 20:25:20 +0000 From: Joseph Myers To: Yonggang Luo CC: Jens Gustedt , Subject: Re: [PATCH 2/5] time: Implement c23 timespec_get base In-Reply-To: <20230619222052.682-3-luoyonggang@gmail.com> Message-ID: References: <20230619222052.682-1-luoyonggang@gmail.com> <20230619222052.682-3-luoyonggang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3105.9 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 20 Jun 2023, Yonggang Luo via Libc-alpha wrote: > +#ifdef __GLIBC_USE_ISOC23 > +#define TIME_MONOTONIC 2 The only standard values new in C2x are TIME_MONOTONIC, TIME_ACTIVE and TIME_THREAD_ACTIVE. All others should probably be conditioned on __USE_GNU if defined at all. -- Joseph S. Myers joseph@codesourcery.com