From: Xiao-Long Chen Date: Tue, 16 Sep 2014 04:17:19 +0000 (-0400) Subject: Don't include windows.h on Cygwin X-Git-Tag: v3.1.900a~210^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b974c4ab93055e9fd500396b602d6fab09a6e95;p=thirdparty%2Flibarchive.git Don't include windows.h on Cygwin --- diff --git a/libarchive/archive_entry.h b/libarchive/archive_entry.h index c85b0e9db..ff5350a8e 100644 --- a/libarchive/archive_entry.h +++ b/libarchive/archive_entry.h @@ -43,7 +43,7 @@ #include /* for wchar_t */ #include -#if defined(_WIN32) +#if defined(_WIN32) && !defined(__CYGWIN__) #include #endif