diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2014-03-12 07:32:22 +0100 |
---|---|---|
committer | Jiri Malak <malak.jiri@gmail.com> | 2014-03-12 07:32:22 +0100 |
commit | 908bb5b39f71fc3f209bc05750b6f61245792169 (patch) | |
tree | fa04d6dce90c987c70e1365da54124acdc72af0b /tar/bsdtar_windows.h | |
parent | 661684170b970ef7d6eff135b57e58a537e8bc53 (diff) | |
download | libarchive-908bb5b39f71fc3f209bc05750b6f61245792169.tar.gz |
fixes to build by Open Watcom toolchain
Diffstat (limited to 'tar/bsdtar_windows.h')
-rw-r--r-- | tar/bsdtar_windows.h | 4 |
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 */ |