MSVC: xzdec: Use _fileno and _setmode.

This commit is contained in:
Kelvin Lee 2023-09-05 15:00:07 +03:00 committed by Lasse Collin
parent cfd1054b9b
commit c4edd36767
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@
#ifdef TUKLIB_DOSLIKE
# include <fcntl.h>
# include <io.h>
# ifdef _MSC_VER
# define fileno _fileno
# define setmode _setmode
# endif
#endif