1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.

This commit is contained in:
Lasse Collin 2010-10-10 16:47:01 +03:00
parent acbc4cdecb
commit 825e859a90

View file

@ -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;