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
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ main(int argc, char **argv)
parse_args(argc, argv);
#ifdef TUKLIB_DOSLIKE
setmode(STDIN_FILENO, O_BINARY);
setmode(fileno(stdin), O_BINARY);
#endif
int ret = EXIT_SUCCESS;