Skip to content

Commit

Permalink
Use _dup2 instead of dup2 on Windows; ref #3903
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Dec 18, 2017
1 parent 5e22e8e commit 83d02bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mrbgems/mruby-io/src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83d02bc

Please sign in to comment.