diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2017-12-12 18:38:02 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2017-12-12 22:39:19 +0900 |
| commit | 06ec17de6052f5c7b64c1fcc07d9f631c3616596 (patch) | |
| tree | 7fa83ca5f201a922ddbfd9d11a4e802c7d599bb0 /mrbgems/mruby-io | |
| parent | d549603a8a7022baf889fb2b1d762f18c9898127 (diff) | |
| download | mruby-06ec17de6052f5c7b64c1fcc07d9f631c3616596.tar.gz mruby-06ec17de6052f5c7b64c1fcc07d9f631c3616596.zip | |
add definition for pid_t on MSVC
Diffstat (limited to 'mrbgems/mruby-io')
| -rw-r--r-- | mrbgems/mruby-io/src/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c index 0eb007504..c5f7a8f5a 100644 --- a/mrbgems/mruby-io/src/io.c +++ b/mrbgems/mruby-io/src/io.c @@ -35,6 +35,10 @@ #include <unistd.h> #endif +#ifdef _MSC_VER +typedef int pid_t; +#endif + #include <fcntl.h> #include <errno.h> |
