From 6c6c43f92c599ca955ce4fbf4c33da37348250b2 Mon Sep 17 00:00:00 2001 From: "Author: Guenter Knauf" Date: Wed, 18 Aug 2010 16:23:33 +0200 Subject: [PATCH] Removed Win32 ifdef completely for sys/uio.h. No idea why we had this ifdef at all but MSVC, MingW32, Watcom and Borland all have no sys/uio.h header; so if there's another Win32 compiler which needs it then it should be added explicitely instead of this negative list. --- include/libssh2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/libssh2.h b/include/libssh2.h index dc2c6c0..df065a0 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -106,8 +106,7 @@ extern "C" { # endif /* LIBSSH2_WIN32 */ #endif /* LIBSSH2_API */ -#if defined(LIBSSH2_DARWIN) || (defined(LIBSSH2_WIN32) && \ - !defined(_MSC_VER) && !defined(__MINGW32__)) +#if defined(LIBSSH2_DARWIN) # include #endif