summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mrbgems/mruby-io/test/mruby_io_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c
index c0bbb91ac..36f734382 100644
--- a/mrbgems/mruby-io/test/mruby_io_test.c
+++ b/mrbgems/mruby-io/test/mruby_io_test.c
@@ -15,6 +15,9 @@
typedef int mode_t;
#endif
+#define open _open
+#define close _close
+
#ifdef _MSC_VER
static int
mkstemp(char *p)