Skip to content

Commit 0fc01e3

Browse files
committed
Add deps to cmake
1 parent 9c4f8fd commit 0fc01e3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

libc/src/time/strftime.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ LLVM_LIBC_FUNCTION(size_t, strftime,
2727
if (buffsz > 0) // if the buffsz is 0 the buffer may be a null pointer.
2828
wb.buff[wb.buff_cur] = '\0';
2929
return (!ret.has_value() || ret.value() >= buffsz) ? 0 : ret.value();
30-
;
3130
}
3231

3332
} // namespace LIBC_NAMESPACE_DECL

libc/src/time/strftime_core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ add_header_library(
4343
.core_structs
4444
.parser
4545
.converter
46+
libc.src.__support.error_or
4647
libc.src.stdio.printf_core.writer
4748
libc.hdr.types.struct_tm
4849
)

0 commit comments

Comments
 (0)