Commit c18a8c53 authored by dearblue's avatar dearblue

Remove unnessesary branches

parent 6c5ee8f7
...@@ -7,12 +7,7 @@ ...@@ -7,12 +7,7 @@
#include "mruby/data.h" #include "mruby/data.h"
#include "mruby/string.h" #include "mruby/string.h"
#include "mruby/ext/io.h" #include "mruby/ext/io.h"
#if MRUBY_RELEASE_NO < 10000
#include "error.h"
#else
#include "mruby/error.h" #include "mruby/error.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -7,12 +7,7 @@ ...@@ -7,12 +7,7 @@
#include "mruby/data.h" #include "mruby/data.h"
#include "mruby/string.h" #include "mruby/string.h"
#include "mruby/ext/io.h" #include "mruby/ext/io.h"
#if MRUBY_RELEASE_NO < 10000
#include "error.h"
#else
#include "mruby/error.h" #include "mruby/error.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -10,12 +10,7 @@ ...@@ -10,12 +10,7 @@
#include "mruby/string.h" #include "mruby/string.h"
#include "mruby/variable.h" #include "mruby/variable.h"
#include "mruby/ext/io.h" #include "mruby/ext/io.h"
#if MRUBY_RELEASE_NO < 10000
#include "error.h"
#else
#include "mruby/error.h" #include "mruby/error.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
...@@ -66,14 +61,6 @@ static int mrb_io_modestr_to_flags(mrb_state *mrb, const char *modestr); ...@@ -66,14 +61,6 @@ static int mrb_io_modestr_to_flags(mrb_state *mrb, const char *modestr);
static int mrb_io_flags_to_modenum(mrb_state *mrb, int flags); static int mrb_io_flags_to_modenum(mrb_state *mrb, int flags);
static void fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int quiet); static void fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int quiet);
#if MRUBY_RELEASE_NO < 10000
static struct RClass *
mrb_module_get(mrb_state *mrb, const char *name)
{
return mrb_class_get(mrb, name);
}
#endif
static struct mrb_io * static struct mrb_io *
io_get_open_fptr(mrb_state *mrb, mrb_value self) io_get_open_fptr(mrb_state *mrb, mrb_value self)
{ {
......
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