[libc-commits] [libc] [libc] add headers.txt for windows (PR #118675)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Wed Dec 4 11:14:09 PST 2024
https://github.com/nickdesaulniers updated https://github.com/llvm/llvm-project/pull/118675
>From 51ea90aef7665e00ebc200bface81e7552696a4b Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Wed, 4 Dec 2024 09:58:47 -0800
Subject: [PATCH 1/2] [libc] add headers.txt for windows
Link: https://github.com/llvm/llvm-project/pull/117220#issuecomment-2518126598
---
libc/config/windows/headers.txt | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 libc/config/windows/headers.txt
diff --git a/libc/config/windows/headers.txt b/libc/config/windows/headers.txt
new file mode 100644
index 00000000000000..d5b44fc07277e5
--- /dev/null
+++ b/libc/config/windows/headers.txt
@@ -0,0 +1,32 @@
+set(TARGET_PUBLIC_HEADERS
+ libc.include.assert
+ libc.include.ctype
+ libc.include.dirent
+ libc.include.errno
+ libc.include.features
+ libc.include.fenv
+ libc.include.float
+ libc.include.inttypes
+ libc.include.limits
+ libc.include.link
+ libc.include.locale
+ libc.include.malloc
+ libc.include.math
+ libc.include.sched
+ libc.include.search
+ libc.include.setjmp
+ libc.include.signal
+ libc.include.stdbit
+ libc.include.stdckdint
+ libc.include.stdfix
+ libc.include.stdint
+ libc.include.stdio
+ libc.include.stdlib
+ libc.include.string
+ libc.include.strings
+ libc.include.threads
+ libc.include.time
+ libc.include.uchar
+ libc.include.unistd
+ libc.include.wchar
+)
>From 75b5ab27a41f707c22e4c517921258123d0963bb Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Wed, 4 Dec 2024 11:13:56 -0800
Subject: [PATCH 2/2] remove linux specific link.h from windows headers.txt
---
libc/config/windows/headers.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/libc/config/windows/headers.txt b/libc/config/windows/headers.txt
index d5b44fc07277e5..61d67cadd95e04 100644
--- a/libc/config/windows/headers.txt
+++ b/libc/config/windows/headers.txt
@@ -8,7 +8,6 @@ set(TARGET_PUBLIC_HEADERS
libc.include.float
libc.include.inttypes
libc.include.limits
- libc.include.link
libc.include.locale
libc.include.malloc
libc.include.math
More information about the libc-commits
mailing list