2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 // For information see https://libcxx.llvm.org/DesignDocs/TimeZone.html
12 #ifndef _LIBCPP___CHRONO_LOCAL_INFO_H
13 #define _LIBCPP___CHRONO_LOCAL_INFO_H
16 // Enable the contents of the header only when libc++ was built with experimental features enabled.
17 #if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
19 # include <__chrono/sys_info.h>
22 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
23 # pragma GCC system_header
26 _LIBCPP_BEGIN_NAMESPACE_STD
28 # if _LIBCPP_STD_VER >= 20
33 static constexpr int unique
= 0;
34 static constexpr int nonexistent
= 1;
35 static constexpr int ambiguous
= 2;
44 # endif // _LIBCPP_STD_VER >= 20
46 _LIBCPP_END_NAMESPACE_STD
48 #endif // !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
50 #endif // _LIBCPP___CHRONO_LOCAL_INFO_H