summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 0cf4dc2e06..99507e44d8 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 {