mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Pre-built desktop server
This commit is contained in:
1 parent
cf62702f08
commit
42d7865e14
6 files changed
+36
-14
No files matched your search
+1
-1
@@ -373,7 +373,7 @@ int gettimeofday(struct timeval *tv, void *tz) {
|
||||
tmpres <<= 32;
|
||||
tmpres |= ft.dwLowDateTime;
|
||||
tmpres /= 10; // convert into microseconds
|
||||
tmpres -= 11644473600000000ULL;
|
||||
tmpres -= (int64_t) 11644473600000000;
|
||||
tv->tv_sec = (long) (tmpres / 1000000UL);
|
||||
tv->tv_usec = (long) (tmpres % 1000000UL);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user