diff options
Diffstat (limited to 'archival/libunarchive/decompress_bunzip2.c')
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index b53720f23..cd8df086e 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c | |||
@@ -648,10 +648,10 @@ void FAST_FUNC dealloc_bunzip(bunzip_data *bd) | |||
648 | 648 | ||
649 | 649 | ||
650 | /* Decompress src_fd to dst_fd. Stops at end of bzip data, not end of file. */ | 650 | /* Decompress src_fd to dst_fd. Stops at end of bzip data, not end of file. */ |
651 | USE_DESKTOP(long long) int FAST_FUNC | 651 | IF_DESKTOP(long long) int FAST_FUNC |
652 | unpack_bz2_stream(int src_fd, int dst_fd) | 652 | unpack_bz2_stream(int src_fd, int dst_fd) |
653 | { | 653 | { |
654 | USE_DESKTOP(long long total_written = 0;) | 654 | IF_DESKTOP(long long total_written = 0;) |
655 | char *outbuf; | 655 | char *outbuf; |
656 | bunzip_data *bd; | 656 | bunzip_data *bd; |
657 | int i; | 657 | int i; |
@@ -666,7 +666,7 @@ unpack_bz2_stream(int src_fd, int dst_fd) | |||
666 | i = RETVAL_SHORT_WRITE; | 666 | i = RETVAL_SHORT_WRITE; |
667 | break; | 667 | break; |
668 | } | 668 | } |
669 | USE_DESKTOP(total_written += i;) | 669 | IF_DESKTOP(total_written += i;) |
670 | } | 670 | } |
671 | } | 671 | } |
672 | 672 | ||
@@ -686,10 +686,10 @@ unpack_bz2_stream(int src_fd, int dst_fd) | |||
686 | dealloc_bunzip(bd); | 686 | dealloc_bunzip(bd); |
687 | free(outbuf); | 687 | free(outbuf); |
688 | 688 | ||
689 | return i ? i : USE_DESKTOP(total_written) + 0; | 689 | return i ? i : IF_DESKTOP(total_written) + 0; |
690 | } | 690 | } |
691 | 691 | ||
692 | USE_DESKTOP(long long) int FAST_FUNC | 692 | IF_DESKTOP(long long) int FAST_FUNC |
693 | unpack_bz2_stream_prime(int src_fd, int dst_fd) | 693 | unpack_bz2_stream_prime(int src_fd, int dst_fd) |
694 | { | 694 | { |
695 | unsigned char magic[2]; | 695 | unsigned char magic[2]; |