|
Message-Id: <ed555b651f6638540e5ac9d9d14a1980374ccc44.1684932861.git.Jens.Gustedt@inria.fr> Date: Wed, 19 Apr 2023 08:46:17 +0200 From: Jens Gustedt <Jens.Gustedt@...ia.fr> To: musl@...ts.openwall.com Subject: [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 e4d6b2ef..d85b2c55 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.