[libc-commits] [libc] [libc] Add timezone extensions to struct tm and time.h (PR #203381)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Mon Jun 15 22:13:21 PDT 2026
================
@@ -0,0 +1,20 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Definition of type tm_gmtoff_t.
+///
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_TYPES_TM_GMFTOFF_T_H
+#define LLVM_LIBC_TYPES_TM_GMFTOFF_T_H
+
+/// Type for timezone offset in seconds.
+typedef long tm_gmtoff_t;
----------------
vonosmas wrote:
Re-flagging this. Do we want to either use or delete tm_gmtoff_t ?
https://github.com/llvm/llvm-project/pull/203381
More information about the libc-commits
mailing list