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