[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
Mon Aug 19 09:36:04 PDT 2024
================
@@ -120,7 +120,7 @@ TEST(LlvmLibcArgListTest, TestStructTypes) {
}
// Test vector extensions from clang.
-#if __has_attribute(ext_vector_type)
+#if !defined(LIBC_TARGET_OS_IS_WINDOWS) && __has_attribute(ext_vector_type)
----------------
overmighty wrote:
Should probably explicitly `#include "libc/src/__support/macros/properties/os.h"` in files where use of `LIBC_TARGET_OS_IS_WINDOWS` is being added.
https://github.com/llvm/llvm-project/pull/104676
More information about the libc-commits
mailing list