From: Jens Gustedt <Jens.Gustedt@inria.fr>
To: musl@lists.openwall.com
Subject: [musl] [C23 string conversion 2/2] C23: add the new include guards for string.h and wchar.h
Date: Wed, 31 May 2023 16:01:44 +0200 [thread overview]
Message-ID: <2608718fe62ccf4a212f590803b81d31aa480304.1685534402.git.Jens.Gustedt@inria.fr> (raw)
In-Reply-To: <cover.1685534402.git.Jens.Gustedt@inria.fr>
---
include/string.h | 4 ++--
include/wchar.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/string.h b/include/string.h
index 61768cf7..733feb25 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,5 +1,5 @@
-#ifndef _STRING_H
-#define _STRING_H
+#ifndef __STDC_VERSION_STRING_H__
+#define __STDC_VERSION_STRING_H__ 202311L
#ifdef __cplusplus
extern "C" {
diff --git a/include/wchar.h b/include/wchar.h
index 194f7f8f..fd727c2b 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,5 +1,5 @@
-#ifndef _WCHAR_H
-#define _WCHAR_H
+#ifndef __STDC_VERSION_WCHAR_H__
+#define __STDC_VERSION_WCHAR_H__ 202311L
#ifdef __cplusplus
extern "C" {
--
2.34.1
prev parent reply other threads:[~2023-05-31 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1685534402.git.Jens.Gustedt@inria.fr>
2023-05-31 14:01 ` [musl] [C23 string conversion 1/2] C23: implement the c8rtomb and mbrtoc8 functions Jens Gustedt
2023-06-25 17:26 ` Rich Felker
2023-06-26 10:28 ` Jₑₙₛ Gustedt
2023-07-03 1:37 ` NRK
2023-07-07 14:46 ` Markus Wichmann
2023-05-31 14:01 ` Jens Gustedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2608718fe62ccf4a212f590803b81d31aa480304.1685534402.git.Jens.Gustedt@inria.fr \
--to=jens.gustedt@inria.fr \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).