mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Merge pull request #27 from dtikhonov/201705062137-fix-win-release
Fix bug in Windows optimized build
This commit is contained in:
commit
3b55db2dfb
1 changed files with 4 additions and 4 deletions
|
@ -177,11 +177,11 @@ print_timestamp (void)
|
||||||
gettimeofday(&tv, NULL);
|
gettimeofday(&tv, NULL);
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
|
||||||
errno_t e;
|
|
||||||
#endif
|
|
||||||
time_t t = tv.tv_sec;
|
time_t t = tv.tv_sec;
|
||||||
e = localtime_s(&tm, &t);
|
#ifndef NDEBUG
|
||||||
|
errno_t e =
|
||||||
|
#endif
|
||||||
|
localtime_s(&tm, &t);
|
||||||
assert(!e);
|
assert(!e);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue