Path: blob/main/contrib/llvm-project/libcxx/include/__chrono/local_info.h
35262 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89// For information see https://libcxx.llvm.org/DesignDocs/TimeZone.html1011#ifndef _LIBCPP___CHRONO_LOCAL_INFO_H12#define _LIBCPP___CHRONO_LOCAL_INFO_H1314#include <version>15// Enable the contents of the header only when libc++ was built with experimental features enabled.16#if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)1718# include <__chrono/sys_info.h>19# include <__config>2021# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)22# pragma GCC system_header23# endif2425_LIBCPP_BEGIN_NAMESPACE_STD2627# if _LIBCPP_STD_VER >= 202829namespace chrono {3031struct local_info {32static constexpr int unique = 0;33static constexpr int nonexistent = 1;34static constexpr int ambiguous = 2;3536int result;37sys_info first;38sys_info second;39};4041} // namespace chrono4243# endif // _LIBCPP_STD_VER >= 204445_LIBCPP_END_NAMESPACE_STD4647#endif // !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)4849#endif // _LIBCPP___CHRONO_LOCAL_INFO_H505152