/* -----------------------------------------------------------------------------
(c) The University of Glasgow 1995-2004
-
+
Our low-level exec() variant.
-------------------------------------------------------------------------- */
+#include "HsBase.h"
+
+#if !defined(mingw32_TARGET_OS) /* 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:
setitimer(ITIMER_PROF, &itv, NULL);
# endif
}
+
+#endif
\ No newline at end of file
/* in Signals.c */
extern HsInt nocldstop;
+#if !defined(mingw32_TARGET_OS)
/* in execvpe.c */
extern int execvpe(char *name, char *const argv[], char **envp);
extern void pPrPr_disableITimers (void);
+#endif
/* -----------------------------------------------------------------------------
64-bit operations, defined in longlong.c