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