mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/win32.h: define mode_t for umask.
* process.c (check_exec_options_i, check_exec_fds, run_exec_options): support "close_others" only when fork(2) is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
963941b156
commit
62da750abe
3 changed files with 18 additions and 0 deletions
|
@ -89,6 +89,9 @@ typedef unsigned int uintptr_t;
|
|||
# define _UINTPTR_T_DEFINED
|
||||
# endif
|
||||
#endif
|
||||
#ifndef __MINGW32__
|
||||
# define mode_t int
|
||||
#endif
|
||||
|
||||
#ifdef _M_IX86
|
||||
# define WIN95 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue