diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-10 04:00:07 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-10 04:00:07 +0000 |
| commit | 0d6027dbafdc444153f1809a90ea80c8c7e6b9c4 (patch) | |
| tree | ce9bb037c3143195dcca01041e25609809beaaf7 /win32 | |
| parent | 3e30d5452c75f4d18526870276eb82115c1df286 (diff) | |
| download | ruby-0d6027dbafdc444153f1809a90ea80c8c7e6b9c4.tar.gz ruby-0d6027dbafdc444153f1809a90ea80c8c7e6b9c4.tar.xz ruby-0d6027dbafdc444153f1809a90ea80c8c7e6b9c4.zip | |
* win32/win32.h: define execv() using do_aspawn().
* process.c (proc_exec_v): remove #ifdef's which stopped needing.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 0cf4dc2e0..99507e44d 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -117,6 +117,8 @@ extern "C++" { #define fsync(h) _commit(h) #undef stat #define stat(path,st) rb_w32_stat(path,st) +#undef execv +#define execv(path,argv) do_aspawn(P_OVERLAY,path,argv) #ifdef __MINGW32__ struct timezone { |
