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 | a4e981bf047d4a14c09739a193d8cf421f0fca0a (patch) | |
| tree | e7e1c566cb1e645389ba12323902573db8790ba8 /include/ruby | |
| parent | 824fa7f245ea4beb15170d751cf211ee83ba5fbb (diff) | |
| download | ruby-a4e981bf047d4a14c09739a193d8cf421f0fca0a.tar.gz ruby-a4e981bf047d4a14c09739a193d8cf421f0fca0a.tar.xz ruby-a4e981bf047d4a14c09739a193d8cf421f0fca0a.zip | |
* 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: http://svn.ruby-lang.org/repos/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 43036b8dc..4e1f14e9e 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 |
