]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Don't include windows.h on Cygwin 90/head
authorXiao-Long Chen <chenxiaolong@cxl.epac.to>
Tue, 16 Sep 2014 04:17:19 +0000 (00:17 -0400)
committerXiao-Long Chen <chenxiaolong@cxl.epac.to>
Tue, 16 Sep 2014 04:17:19 +0000 (00:17 -0400)
libarchive/archive_entry.h

index c85b0e9db23cffbb2b9c92a02aec1884c6cd4ac3..ff5350a8edff94d6dc0e942166b3ad79cf6582ad 100644 (file)
@@ -43,7 +43,7 @@
 #include <stddef.h>  /* for wchar_t */
 #include <time.h>
 
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(__CYGWIN__)
 #include <windows.h>
 #endif