unzck: fix build with musl libc
authorPierre-Jean Texier <pjtexier@koncepto.io>
Thu, 23 Jan 2020 21:42:40 +0000 (22:42 +0100)
committerPierre-Jean Texier <pjtexier@koncepto.io>
Sun, 26 Jan 2020 20:43:06 +0000 (21:43 +0100)
commit6ecc73ed7464d6979252fe4927cba96555fc8436
treee7417a68f6d8ebb5ecb92f229b81f5356f6d9d19
parent78247d478cec254bad27f4ed97b532f4f54bf1b0
unzck: fix build with musl libc

On musl libc "stdout" is a preprocessor macro whose expansion leads to
compilation errors.

Fixes:

| In file included from ../git/src/unzck.c:31:
| ../git/src/unzck.c: In function 'parse_opt':
| ../git/src/unzck.c:78:24: error: expected identifier before '(' token
|    78 |             arguments->stdout = true;
|       |                        ^~~~~~
| ../git/src/unzck.c: In function 'main':
| ../git/src/unzck.c:141:20: error: expected identifier before '(' token
|   141 |     if(!(arguments.stdout)) {
|       |                    ^~~~~~

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
src/unzck.c