[libc-commits] [libc] [llvm] [libc][windows] start time API implementation (PR #117775)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Dec 4 07:34:38 PST 2024


================
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_HDR_TYPES_CLOCKID_T_H
 #define LLVM_LIBC_HDR_TYPES_CLOCKID_T_H
 
-#ifdef LIBC_FULL_BUILD
+#if defined(LIBC_FULL_BUILD) || defined(_MSC_VER)
----------------
SchrodingerZhu wrote:

I will use `_WIN32` then. It is specified in https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170#standard-predefined-macros.

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


More information about the libc-commits mailing list