1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

MSVC: xz: Use _fileno() instead of fileno().

This commit is contained in:
Kelvin Lee 2023-09-05 15:10:31 +03:00 committed by Lasse Collin
parent c4edd36767
commit d14bba8fc2

View file

@ -36,6 +36,10 @@
# include <windows.h>
#endif
#ifdef _MSC_VER
# define fileno _fileno
#endif
#ifndef STDIN_FILENO
# define STDIN_FILENO (fileno(stdin))
#endif