Skip to content

Commit 55062e6

Browse files
committed
Add a TODO on why we need to include struct_tm
1 parent af45df1 commit 55062e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc/include/wchar.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ macros:
66
types:
77
- type_name: FILE
88
- type_name: size_t
9+
# TODO: Remove this once we have a function declaration using "struct tm"
10+
# (wcsftime). We're declaring it here now, since libc++ expects
11+
# forward-declaration of "struct tm" in the <wchar.h> header.
912
- type_name: struct_tm
1013
- type_name: wint_t
1114
- type_name: wchar_t

0 commit comments

Comments
 (0)