summaryrefslogtreecommitdiff
path: root/tar/bsdtar_windows.c
diff options
context:
space:
mode:
authorCharles Wilson <cwilso11@gmail.com>2009-03-17 23:53:23 -0400
committerCharles Wilson <cwilso11@gmail.com>2009-03-17 23:53:23 -0400
commit566aeb878a04b1ad38a5e667f578b183cbe54edf (patch)
tree680abb0c00381e1695300b0b7bc57570a3313c22 /tar/bsdtar_windows.c
parent44f9eb572bca6ac07112a794776928d02913e551 (diff)
downloadlibarchive-566aeb878a04b1ad38a5e667f578b183cbe54edf.tar.gz
Issue 15, part 2. Mechanical conversion of #defines, tar/
#ifdef _WIN32 --> #if defined(_WIN32) && !defined(__CYGWIN__) #ifndef _WIN32 --> #if !defined(_WIN32) || defined(__CYGWIN__) Exceptions to the general rule: tar/test/main.c: some additional comments tar/bsdtar.c: some additional comments SVN-Revision: 788
Diffstat (limited to 'tar/bsdtar_windows.c')
-rw-r--r--tar/bsdtar_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/bsdtar_windows.c b/tar/bsdtar_windows.c
index b9c5cd71..a4ac450f 100644
--- a/tar/bsdtar_windows.c
+++ b/tar/bsdtar_windows.c
@@ -25,7 +25,7 @@
* $FreeBSD$
*/
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
#include "bsdtar_platform.h"
#include <errno.h>