"Fix" windows build
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 4s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 4s
This commit is contained in:
parent
da2a0f7b1c
commit
17f89e5a68
1 changed files with 4 additions and 0 deletions
|
@ -698,6 +698,9 @@ int simple_archiver_parse_archive_info(FILE *in_f, int do_extract,
|
||||||
|
|
||||||
if (do_extract && !skip) {
|
if (do_extract && !skip) {
|
||||||
fprintf(stderr, " Extracting...\n");
|
fprintf(stderr, " Extracting...\n");
|
||||||
|
#if SIMPLE_ARCHIVER_PLATFORM == SIMPLE_ARCHIVER_PLATFORM_COSMOPOLITAN || \
|
||||||
|
SIMPLE_ARCHIVER_PLATFORM == SIMPLE_ARCHIVER_PLATFORM_MAC || \
|
||||||
|
SIMPLE_ARCHIVER_PLATFORM == SIMPLE_ARCHIVER_PLATFORM_LINUX
|
||||||
int pipe_into_cmd[2];
|
int pipe_into_cmd[2];
|
||||||
int pipe_outof_cmd[2];
|
int pipe_outof_cmd[2];
|
||||||
pid_t decompressor_pid;
|
pid_t decompressor_pid;
|
||||||
|
@ -831,6 +834,7 @@ int simple_archiver_parse_archive_info(FILE *in_f, int do_extract,
|
||||||
waitpid(decompressor_pid, NULL, 0);
|
waitpid(decompressor_pid, NULL, 0);
|
||||||
|
|
||||||
fprintf(stderr, " Extracted.\n");
|
fprintf(stderr, " Extracted.\n");
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
while (u64 != 0) {
|
while (u64 != 0) {
|
||||||
if (u64 > 1024) {
|
if (u64 > 1024) {
|
||||||
|
|
Loading…
Reference in a new issue