Skip to content

Commit

Permalink
[libc]: fix missing linux/error-number-macros.h (llvm#97101)
Browse files Browse the repository at this point in the history
The headers installation previously missed platform-specific number
macros, and this fixes that. From discussion on LLVM discord with
`michaelrj` – ccing @michaelrj-google who hopefully is the same person 😅

N.B. I have tested this manually in my Linux Dockerfile and it appears
to do the right thing; I haven't done much more than that.
  • Loading branch information
izaakschroeder authored Jun 28, 2024
1 parent 7841520 commit 74852bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libc/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ add_gen_header(
GEN_HDR errno.h
DEPENDS
.llvm-libc-macros.generic_error_number_macros
.llvm-libc-macros.error_number_macros
)

add_gen_header(
Expand Down

0 comments on commit 74852bf

Please sign in to comment.