[libc-commits] [libc] [libc] Add osutils for Windows and make libc and its tests build on Windows target (PR #104676)
via libc-commits
libc-commits at lists.llvm.org
Sat Aug 17 22:19:34 PDT 2024
================
@@ -20,6 +20,7 @@
using LlvmLibcFEnvTest = LIBC_NAMESPACE::testing::FEnvSafeTest;
+#ifndef _WIN32
----------------
lntue wrote:
We already have `LIBC_TARGET_OS_IS_WINDOWS` at https://github.com/llvm/llvm-project/blob/main/libc/src/__support/macros/properties/os.h#L25
@Lancern Do you mind updating the OS checks using that macro, and targets' dependency accordingly?
https://github.com/llvm/llvm-project/pull/104676
More information about the libc-commits
mailing list