[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,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)
----------------
michaelrj-google wrote:

is there a way to do `#if defined(LIBC_FULL_BUILD) || defined(__windows__)`? The `_MSC_VER` macro isn't very clear what it's checking.

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


More information about the libc-commits mailing list