[libc] [llvm] [libc][windows] start time API implementation (PR #117775)
Schrodinger ZHU Yifan via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 07:39:33 PST 2024
================
@@ -6,21 +6,17 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_CLOCK_GETTIME_H
-#define LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_CLOCK_GETTIME_H
+#ifndef LLVM_LIBC_SRC___SUPPORT_TIME_CLOCK_GETTIME_H
+#define LLVM_LIBC_SRC___SUPPORT_TIME_CLOCK_GETTIME_H
#include "hdr/types/clockid_t.h"
#include "hdr/types/struct_timespec.h"
#include "src/__support/error_or.h"
-#if defined(SYS_clock_gettime64)
-#include <linux/time_types.h>
-#endif
-
----------------
SchrodingerZhu wrote:
It's been moved into `clock_gettime.cpp` instead of `clock_gettime.h`. It should be my mistake that I forgot to clean this part up last time.
https://github.com/llvm/llvm-project/pull/117775
More information about the llvm-commits
mailing list