mirror of https://git.tukaani.org/xz.git
MSVC: xz: Use _fileno() instead of fileno().
This commit is contained in:
parent
c4edd36767
commit
d14bba8fc2
|
@ -36,6 +36,10 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define fileno _fileno
|
||||
#endif
|
||||
|
||||
#ifndef STDIN_FILENO
|
||||
# define STDIN_FILENO (fileno(stdin))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue