mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
17
third_party/libcxx/__mbstate_t.h
vendored
17
third_party/libcxx/__mbstate_t.h
vendored
|
@ -10,6 +10,7 @@
|
|||
#ifndef _LIBCPP___MBSTATE_T_H
|
||||
#define _LIBCPP___MBSTATE_T_H
|
||||
|
||||
#include "libc/str/str.h"
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -35,20 +36,4 @@
|
|||
# define __CORRECT_ISO_CPP_WCHAR_H_PROTO
|
||||
#endif
|
||||
|
||||
#if defined(_LIBCPP_HAS_MUSL_LIBC)
|
||||
# define __NEED_mbstate_t
|
||||
# include <bits/alltypes.h>
|
||||
# undef __NEED_mbstate_t
|
||||
#elif __has_include(<bits/types/mbstate_t.h>)
|
||||
# include <bits/types/mbstate_t.h> // works on most Unixes
|
||||
#elif __has_include(<sys/_types/_mbstate_t.h>)
|
||||
# include <sys/_types/_mbstate_t.h> // works on Darwin
|
||||
#elif !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) && __has_include_next(<wchar.h>)
|
||||
# include_next <wchar.h> // fall back to the C standard provider of mbstate_t
|
||||
#elif __has_include_next(<uchar.h>)
|
||||
# include_next <uchar.h> // <uchar.h> is also required to make mbstate_t visible
|
||||
#else
|
||||
# error "We don't know how to get the definition of mbstate_t without <wchar.h> on your platform."
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP___MBSTATE_T_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue