mirb.c: add fileno() to _fileno() mapping for MSVC

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2026-03-24 13:57:57 +09:00
parent 29f84030ca
commit ad1fd9285c
+1
View File
@@ -28,6 +28,7 @@
#ifdef _WIN32
#include <io.h>
#define isatty(fd) _isatty(fd)
#define fileno(fd) _fileno(fd)
#else
#include <unistd.h>
#endif