We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd8ba1 commit 0b62f8aCopy full SHA for 0b62f8a
libc/hdr/CMakeLists.txt
@@ -224,8 +224,13 @@ add_proxy_header_library(
224
)
225
226
# offsetof is a macro inside compiler resource header stddef.h
227
-# defining it directly as a header library
228
-add_header_library(offsetof_macros HDRS offsetof_macros.h)
+add_proxy_header_library(
+ offsetof_macros
229
+ HDRS
230
+ offsetof_macros.h
231
+ FULL_BUILD_DEPENDS
232
+ libc.include.llvm-libc-macros.offsetof_macro
233
+)
234
235
add_subdirectory(types)
236
add_subdirectory(func)
libc/hdr/offsetof_macros.h
@@ -11,7 +11,7 @@
11
12
#ifdef LIBC_FULL_BUILD
13
14
-#include "include/llvm-libc-macros/offsetof-macros.h"
+#include "include/llvm-libc-macros/offsetof-macro.h"
15
16
#else // Overlay mode
17
0 commit comments