diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-14 01:19:21 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-14 01:19:21 +0900 |
| commit | 7ac39333b5bc1eadd5fd42048aaf448e8a3cc054 (patch) | |
| tree | 8ade60b8e209b15f07dd53a7deb2fe95afb01772 /mrbgems/mruby-io | |
| parent | ebf49932c7b3cda14cd00a7bcf562fc85138c02c (diff) | |
| download | mruby-7ac39333b5bc1eadd5fd42048aaf448e8a3cc054.tar.gz mruby-7ac39333b5bc1eadd5fd42048aaf448e8a3cc054.zip | |
Use `_open` and `_close` on Windows.
Diffstat (limited to 'mrbgems/mruby-io')
| -rw-r--r-- | mrbgems/mruby-io/test/mruby_io_test.c | 3 |
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) |
