mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
MSVC: xzdec: Use _fileno and _setmode.
This commit is contained in:
parent
cfd1054b9b
commit
c4edd36767
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue