diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-25 01:55:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-25 01:55:22 +0000 |
commit | 62da750abea80bad64465791e897bcb4c24d5f9a (patch) | |
tree | e7e1c566cb1e645389ba12323902573db8790ba8 /include/ruby | |
parent | 963941b156a38aed362421b6eb6247d1d5c977f0 (diff) | |
download | ruby-62da750abea80bad64465791e897bcb4c24d5f9a.tar.gz |
* 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
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/win32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 43036b8dc8..4e1f14e9e1 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -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 |