diff options
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_read_open_file.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_read_open_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_read_open_file.c b/Utilities/cmlibarchive/libarchive/archive_read_open_file.c index a6d87b4..a4f66fc 100644 --- a/Utilities/cmlibarchive/libarchive/archive_read_open_file.c +++ b/Utilities/cmlibarchive/libarchive/archive_read_open_file.c @@ -97,7 +97,7 @@ archive_read_open_FILE(struct archive *a, FILE *f) } else mine->can_skip = 0; -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__BORLANDC__) setmode(fileno(mine->f), O_BINARY); #elif defined(_WIN32) _setmode(_fileno(mine->f), _O_BINARY); |