projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sr.ht CI: update FreeBSD and OpenBSD image versions
[tinc]
/
src
/
dropin.c
diff --git
a/src/dropin.c
b/src/dropin.c
index
1489ee6
..
d086ae1
100644
(file)
--- a/
src/dropin.c
+++ b/
src/dropin.c
@@
-130,7
+130,7
@@
int vasprintf(char **buf, const char *fmt, va_list ap) {
#ifndef HAVE_GETTIMEOFDAY
int gettimeofday(struct timeval *tv, void *tz) {
-#ifdef HAVE_
MINGW
+#ifdef HAVE_
WINDOWS
FILETIME ft;
GetSystemTimeAsFileTime(&ft);
uint64_t lt = (uint64_t)ft.dwLowDateTime | ((uint64_t)ft.dwHighDateTime << 32);