From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27553 invoked from network); 31 May 2023 09:26:30 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 31 May 2023 09:26:30 -0000 Received: (qmail 1993 invoked by uid 550); 31 May 2023 09:23:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1251 invoked from network); 31 May 2023 09:23:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=dWjPn6X3SwSYE5TUjfKOCSVNx6cY8h2CguMRl9wBHA0=; b=Wvu6cuP8Tb1oOk3P8neqKdWiKakkywoMY0KjySd4StSivSMGMPxGeAOY ld/LL0RGzc8fsmSoYZ8NtQbH8+5wnhxU4wR8tHj0d8ypPBiTu2F20RNP9 7tbiXgxQNF8gOPJtHmksBZiswajVqhq6TFnbzt3YNPShxwIMUpmtYpkPJ A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Jens.Gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,205,1681164000"; d="scan'208";a="57428763" From: Jens Gustedt To: musl@lists.openwall.com Date: Wed, 31 May 2023 11:23:04 +0200 Message-Id: <65d989b7db0d13957a307d16360a1c186ac4eb28.1685522953.git.Jens.Gustedt@inria.fr> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [C23 divers headers 17/17] C23: add the __STDC_VERSION_STDDEF_H__ macro Currently we don't know of such a compiler, yet, that fully supports all the features but this will probably be gcc-13 and clang-17. --- include/stddef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/stddef.h b/include/stddef.h index 70f299a6..e0a00129 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -1,5 +1,5 @@ -#ifndef _STDDEF_H -#define _STDDEF_H +#ifndef _STDC_VERSION_STDDEF_H__ +#define _STDC_VERSION_STDDEF_H__ 201900L #if __cplusplus >= 201103L #define NULL nullptr -- 2.34.1