[libc-commits] [libc] [llvm] [libc][windows] start time API implementation (PR #117775)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Dec 3 10:27:46 PST 2024
================
@@ -9,14 +9,16 @@
#include "hdr/time_macros.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
-#include "src/__support/time/linux/clock_gettime.h"
+#include "src/__support/time/clock_gettime.h"
#include "src/errno/libc_errno.h"
#include "src/time/time_func.h"
-namespace LIBC_NAMESPACE_DECL {
+#ifdef _MSC_VER
+#include "include/llvm-libc-macros/windows/time-macros-ext.h"
+#endif
----------------
michaelrj-google wrote:
you should handle this with a proxy header instead of an `ifdef` here.
https://github.com/llvm/llvm-project/pull/117775
More information about the libc-commits
mailing list