/* -----------------------------------------------------------------------------
(c) The University of Glasgow 1995-2004
-
+
Our low-level exec() variant.
-------------------------------------------------------------------------- */
+#include "HsBase.h"
+
+#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) /* to the end */
/* Evidently non-Posix. */
/* #include "PosixSource.h" */
#include <string.h>
#include <errno.h>
-/*
+/*
* We want the search semantics of execvp, but we want to provide our
* own environment, like execve. The following copyright applies to
* this code, as it is a derivative of execvp:
*/
int
-execvpe(char *name, char **argv, char **envp)
+execvpe(char *name, char *const argv[], char **envp)
{
register int lp, ln;
register char *p;
setitimer(ITIMER_PROF, &itv, NULL);
# endif
}
+
+#endif