diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-18 11:54:30 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-18 11:55:12 +0900 |
| commit | 83d02bcd5ad73d4cc493b43500f0eb4c4eccdb74 (patch) | |
| tree | 92f885bf2da393b885aeeafdb32337a9c8bc8662 /mrbgems/mruby-io | |
| parent | 5e22e8e3509a4c2422befed01b29949097c903ed (diff) | |
| download | mruby-83d02bcd5ad73d4cc493b43500f0eb4c4eccdb74.tar.gz mruby-83d02bcd5ad73d4cc493b43500f0eb4c4eccdb74.zip | |
Use `_dup2` instead of `dup2` on Windows; ref #3903
Diffstat (limited to 'mrbgems/mruby-io')
| -rw-r--r-- | mrbgems/mruby-io/src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c index f17407ff6..fc81f57cc 100644 --- a/mrbgems/mruby-io/src/io.c +++ b/mrbgems/mruby-io/src/io.c @@ -26,6 +26,7 @@ #define open _open #define close _close #define dup _dup + #define dup2 _dup2 #define read _read #define write _write #define lseek _lseek |
