1*a595b931SIan Anderson // -*- C++ -*- 2*a595b931SIan Anderson //===----------------------------------------------------------------------===// 3*a595b931SIan Anderson // 4*a595b931SIan Anderson // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5*a595b931SIan Anderson // See https://llvm.org/LICENSE.txt for license information. 6*a595b931SIan Anderson // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7*a595b931SIan Anderson // 8*a595b931SIan Anderson //===----------------------------------------------------------------------===// 9*a595b931SIan Anderson 10*a595b931SIan Anderson #ifndef _LIBCPP___STD_MBSTATE_T_H 11*a595b931SIan Anderson #define _LIBCPP___STD_MBSTATE_T_H 12*a595b931SIan Anderson 13*a595b931SIan Anderson #include <__config> 14*a595b931SIan Anderson #include <__mbstate_t.h> 15*a595b931SIan Anderson 16*a595b931SIan Anderson #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 17*a595b931SIan Anderson # pragma GCC system_header 18*a595b931SIan Anderson #endif 19*a595b931SIan Anderson 20*a595b931SIan Anderson // The goal of this header is to provide std::mbstate_t without requiring all 21*a595b931SIan Anderson // of <cuchar> or <cwchar>. 22*a595b931SIan Anderson 23*a595b931SIan Anderson _LIBCPP_BEGIN_NAMESPACE_STD 24*a595b931SIan Anderson 25*a595b931SIan Anderson using ::mbstate_t _LIBCPP_USING_IF_EXISTS; 26*a595b931SIan Anderson 27*a595b931SIan Anderson _LIBCPP_END_NAMESPACE_STD 28*a595b931SIan Anderson 29*a595b931SIan Anderson #endif // _LIBCPP___STD_MBSTATE_T_H 30