Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update system/lib/libc/emscripten_time.c
Co-authored-by: Alon Zakai <azakai@google.com>
  • Loading branch information
sbc100 and kripken authored Jul 8, 2022
commit e7becc50692ba293616329084fd031b0a893e94e
2 changes: 1 addition & 1 deletion system/lib/libc/emscripten_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __attribute__((__weak__)) char *tzname[2] = { 0, 0 };

void _tzset_js(long* timezone, int* daylight, char** tzname);
// Declare these functions `int` rather than time_t to avoid int64 at the wasm
// bounday (avoids 64-bit complexity at the boundary when WASM_BIGINT is
// boundary (avoids 64-bit complexity at the boundary when WASM_BIGINT is
// missing).
// TODO(sbc): Covert back to `time_t` before 2038 ...
int _timegm_js(struct tm *tm);
Expand Down