Skip to content

Commit

Permalink
Replace references to C2x with C23
Browse files Browse the repository at this point in the history
Signed-off-by: Lenard Mollenkopf <[email protected]>
  • Loading branch information
Lenard Mollenkopf authored and github-cygwin committed Nov 4, 2024
1 parent 5e0fb30 commit 37920d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions winsup/cygwin/include/uchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <sys/cdefs.h>
#include <wchar.h>

/* Either C2x or if C++ doesn't already define char8_t */
/* Either C23 or if C++ doesn't already define char8_t */
#if __ISO_C_VISIBLE >= 2020 && !defined (__cpp_char8_t)
typedef unsigned char char8_t;
#endif
Expand All @@ -17,7 +17,7 @@ typedef __uint_least32_t char32_t;

__BEGIN_DECLS

/* Either C2x or if C++ defines char8_t */
/* Either C23 or if C++ defines char8_t */
#if __ISO_C_VISIBLE >= 2020 || defined (__cpp_char8_t)
size_t c8rtomb(char * __restrict, char8_t, mbstate_t * __restrict);
size_t mbrtoc8(char8_t * __restrict, const char * __restrict, size_t,
Expand Down

0 comments on commit 37920d3

Please sign in to comment.