[libc-commits] [libc] [libc] Make use of 32-bit time_t a config option (PR #102012)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 07:15:11 PDT 2024


================
@@ -0,0 +1,14 @@
+//===-- Definition of the type time_t -------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_TYPES_TIME_T_H
----------------
lntue wrote:

This file and `time_t_64.h` are both using the same header guard as `time_t.h`, `time_t` will not be defined when included from `time_t.h`.

https://github.com/llvm/llvm-project/pull/102012


More information about the libc-commits mailing list