File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
libc/src/stdio/scanf_core Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ add_header_library(
7171 libc.src.__support.macros .attributes
7272 libc.hdr.types.FILE
7373 libc.src.__support.File.file
74- COMPILE_OPTIONS
75- ${use_system_file}
74+ ${use_system_file}
7675)
7776endif ()
7877
@@ -129,7 +128,6 @@ elseif(TARGET libc.src.__support.File.file OR (NOT LLVM_LIBC_FULL_BUILD))
129128 libc.include .stdio
130129 libc.src.__support.File.file
131130 libc.src.__support.arg_list
132- COMPILE_OPTIONS
133131 ${use_system_file}
134132 )
135133endif ()
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STDIO_SCANF_CORE_READER_H
1111
1212#include " hdr/types/FILE.h"
13+
14+ #ifndef LIBC_COPT_STDIO_USE_SYSTEM_FILE
1315#include " src/__support/File/file.h"
16+ #endif
17+
1418#include " src/__support/macros/attributes.h" // For LIBC_INLINE
1519#include " src/__support/macros/config.h"
1620
You can’t perform that action at this time.
0 commit comments