summaryrefslogtreecommitdiff
path: root/tar/bsdtar_windows.h
diff options
context:
space:
mode:
authorJiri Malak <malak.jiri@gmail.com>2014-03-12 07:32:22 +0100
committerJiri Malak <malak.jiri@gmail.com>2014-03-12 07:32:22 +0100
commit908bb5b39f71fc3f209bc05750b6f61245792169 (patch)
treefa04d6dce90c987c70e1365da54124acdc72af0b /tar/bsdtar_windows.h
parent661684170b970ef7d6eff135b57e58a537e8bc53 (diff)
downloadlibarchive-908bb5b39f71fc3f209bc05750b6f61245792169.tar.gz
fixes to build by Open Watcom toolchain
Diffstat (limited to 'tar/bsdtar_windows.h')
-rw-r--r--tar/bsdtar_windows.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tar/bsdtar_windows.h b/tar/bsdtar_windows.h
index f0611d79..f025d056 100644
--- a/tar/bsdtar_windows.h
+++ b/tar/bsdtar_windows.h
@@ -35,6 +35,8 @@
#endif
#define geteuid() 0
+#ifndef __WATCOMC__
+
#ifndef S_IFIFO
#define S_IFIFO 0010000 /* pipe */
#endif
@@ -57,4 +59,6 @@ int __tar_chdir(const char *);
#define S_ISBLK(a) (0)
#endif
+#endif
+
#endif /* BSDTAR_WINDOWS_H */