From fa5d6c705da1656d1eae840f6e58ca7af39d977e Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 1 Jun 2010 21:09:08 +0200 Subject: [PATCH] MingW32 has gettimeofday() implemented, so proper ifdef this function here. --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index 139abd7d..6240d139 100644 --- a/src/misc.c +++ b/src/misc.c @@ -533,7 +533,7 @@ void _libssh2_list_insert(struct list_node *after, /* insert before this */ -#ifdef WIN32 +#if defined(LIBSSH2_WIN32) && !defined(__MINGW32__) /* * gettimeofday * Implementation according to: