mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fixed VC fstat issue.
This commit is contained in:
@@ -395,7 +395,7 @@ static mrb_value
|
||||
mrb_file_mtime(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
int fd = mrb_io_fileno(mrb, self);
|
||||
struct stat st;
|
||||
mrb_stat st;
|
||||
|
||||
if (mrb_fstat(fd, &st) == -1)
|
||||
return mrb_false_value();
|
||||
|
||||
Reference in New Issue
Block a user