MSVC: xz: Use _fileno() instead of fileno().

This commit is contained in:
Kelvin Lee 2023-09-05 15:10:31 +03:00 committed by Lasse Collin
parent c4edd36767
commit d14bba8fc2
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@
# include <windows.h>
#endif
#ifdef _MSC_VER
# define fileno _fileno
#endif
#ifndef STDIN_FILENO
# define STDIN_FILENO (fileno(stdin))
#endif