mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mirb.c: add fileno() to _fileno() mapping for MSVC
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#define isatty(fd) _isatty(fd)
|
||||
#define fileno(fd) _fileno(fd)
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user