mirror of https://git.tukaani.org/xz.git
MSVC: xzdec: Use _fileno and _setmode.
This commit is contained in:
parent
cfd1054b9b
commit
c4edd36767
|
@ -28,6 +28,10 @@
|
|||
#ifdef TUKLIB_DOSLIKE
|
||||
# include <fcntl.h>
|
||||
# include <io.h>
|
||||
# ifdef _MSC_VER
|
||||
# define fileno _fileno
|
||||
# define setmode _setmode
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue