[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:03 PDT 2024
================
@@ -16,15 +16,29 @@ void operator delete(void *mem, std::align_val_t) noexcept { ::free(mem); }
void operator delete(void *mem, size_t) noexcept { ::free(mem); }
void operator delete(void *mem, size_t, std::align_val_t) noexcept {
+#ifdef LIBC_TARGET_OS_IS_WINDOWS
----------------
overmighty wrote:
I guess relying on transitive inclusion of src/__support/macros/properties/os.h is fine in this case.
https://github.com/llvm/llvm-project/pull/104676
More information about the libc-commits
mailing list