mirror of https://git.tukaani.org/xz.git
lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
This commit is contained in:
parent
acbc4cdecb
commit
825e859a90
|
@ -177,7 +177,7 @@ main(int argc, char **argv)
|
||||||
parse_args(argc, argv);
|
parse_args(argc, argv);
|
||||||
|
|
||||||
#ifdef TUKLIB_DOSLIKE
|
#ifdef TUKLIB_DOSLIKE
|
||||||
setmode(STDIN_FILENO, O_BINARY);
|
setmode(fileno(stdin), O_BINARY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int ret = EXIT_SUCCESS;
|
int ret = EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue