diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-09-24 15:38:22 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-09-24 15:38:22 +0300 |
commit | 727c2b4c7011c252fd1973358629cccbfecfc25d (patch) | |
tree | 6f23f76a951b594921e7161a5035cace9f46683c /debug.c | |
parent | 9cfede253d3d5f6907a6a1c0263b08442267cd55 (diff) | |
download | egawk-727c2b4c7011c252fd1973358629cccbfecfc25d.tar.gz egawk-727c2b4c7011c252fd1973358629cccbfecfc25d.tar.bz2 egawk-727c2b4c7011c252fd1973358629cccbfecfc25d.zip |
Fix compilation warnings on MinGW with the latest runtime
reported by Marc de Bourget <marcdebourget@gmail.com>.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2902,7 +2902,11 @@ restart(bool run) close_all(); /* start a new process replacing the current process */ +#ifdef __MINGW32__ + execvp(d_argv[0], (const char * const *)d_argv); +#else execvp(d_argv[0], d_argv); +#endif /* execvp failed !!! */ fprintf(out_fp, _("Failed to restart debugger")); |