diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-02 15:51:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-02 15:51:29 (GMT) |
commit | ca73562e5470e9c9c43c018ff73e9b920c7feed5 (patch) | |
tree | 0a8bd716a2ad224ce3b64fc9c9d725a21017efdc /Utilities/cmlibarchive/libarchive/archive_write_open_fd.c | |
parent | ff0ff689671d603ee3487e87bdc2b3ea03312967 (diff) | |
download | CMake-ca73562e5470e9c9c43c018ff73e9b920c7feed5.zip CMake-ca73562e5470e9c9c43c018ff73e9b920c7feed5.tar.gz CMake-ca73562e5470e9c9c43c018ff73e9b920c7feed5.tar.bz2 |
borland builds, but still has some link errors
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_write_open_fd.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_write_open_fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_open_fd.c b/Utilities/cmlibarchive/libarchive/archive_write_open_fd.c index 5e117d4..1e05bc5 100644 --- a/Utilities/cmlibarchive/libarchive/archive_write_open_fd.c +++ b/Utilities/cmlibarchive/libarchive/archive_write_open_fd.c @@ -70,7 +70,7 @@ archive_write_open_fd(struct archive *a, int fd) return (ARCHIVE_FATAL); } mine->fd = fd; -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__BORLANDC__) setmode(mine->fd, O_BINARY); #elif defined(_WIN32) _setmode(mine->fd, _O_BINARY); |