diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-27 14:30:01 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-27 14:30:01 +0300 |
commit | 049f8e88fc72d17e94d5429186ea4b93398a8c5e (patch) | |
tree | b20f7128b2a41a6c8182ae70604b8bda92fc166b /job.c | |
parent | da7df54309eb759837a289ade900fe8e3d6ddc36 (diff) | |
download | gunmake-049f8e88fc72d17e94d5429186ea4b93398a8c5e.tar.gz |
job.c: Fix compilation error on GNU/Linux due to "label at end of compound statement".
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -620,13 +620,18 @@ pump_from_tmp_fd (int from_fd, int to_fd) nleft -= nwrite; } } -finished: + + finished: #ifdef WINDOWS32 /* Switch to_fd back to its original mode, so that log messages by Make have the same EOL format as without --output-sync. */ _setmode (to_fd, prev_mode); #endif + + /* This is needed to avoid the "label at end of compound statement" + diagnostics on Posix platforms. */ + return; } /* Support routine for sync_output() */ |