Commit 0b72b8f6 0b72b8f6bf3931d4469aade81ca155ad2e34862e by Sergey Poznyakoff

Protected _exit by #ifdef.

1 parent 703dffed
...@@ -747,7 +747,11 @@ int mu_spawnvp(const char* prog, const char* const av_[], int* stat) ...@@ -747,7 +747,11 @@ int mu_spawnvp(const char* prog, const char* const av_[], int* stat)
747 sigprocmask (SIG_SETMASK, &savemask, NULL); 747 sigprocmask (SIG_SETMASK, &savemask, NULL);
748 748
749 execvp (av[0], av); 749 execvp (av[0], av);
750 exit (127); /* exec error */ 750 #ifdef HAVE__EXIT
751 _exit (127); /* exec error */
752 #else
753 exit (127);
754 #endif
751 } 755 }
752 else 756 else
753 { /* parent */ 757 { /* parent */
......