Skip to content

Commit

Permalink
exlude mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Feb 7, 2024
1 parent 0ceb0c0 commit dcb5bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmt/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ int fmt_timestamp_us(struct re_printf *pf, void *arg)
struct timespec tspec;
struct tm tm;

#ifdef WIN32
#if defined(WIN32) && !defined(__MINGW32__)
timespec_get(&tspec, TIME_UTC);
int err = localtime_s(&tm, &tspec.tv_sec);
if (err)
Expand Down

0 comments on commit dcb5bfc

Please sign in to comment.