Commit cd168c6f authored by Julien Ammous's avatar Julien Ammous

solaris does not have flock

parent 719452b8
......@@ -315,6 +315,7 @@ mrb_file__gethome(mrb_state *mrb, mrb_value klass)
mrb_value
mrb_file_flock(mrb_state *mrb, mrb_value self)
{
#if !defined(sun)
mrb_int operation;
int fd;
......@@ -339,6 +340,7 @@ mrb_file_flock(mrb_state *mrb, mrb_value self)
break;
}
}
#endif
return mrb_fixnum_value(0);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment