1
0
Fork 0
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:
Kelvin Lee 2023-09-05 15:00:07 +03:00 committed by Lasse Collin
parent cfd1054b9b
commit c4edd36767

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