Import Data.ByteString from fps 0.5.
[haskell-directory.git] / cbits / execvpe.c
index aac5d55..2234f09 100644 (file)
@@ -5,7 +5,7 @@
    -------------------------------------------------------------------------- */
 #include "HsBase.h"
 
-#if !defined(mingw32_TARGET_OS) /* to the end */
+#if !defined(mingw32_HOST_OS) /* to the end */
 
 /* Evidently non-Posix. */
 /* #include "PosixSource.h" */
@@ -54,7 +54,7 @@
  */
 
 int
-execvpe(char *name, char **argv, char **envp)
+execvpe(char *name, char *const argv[], char **envp)
 {
     register int lp, ln;
     register char *p;
@@ -172,4 +172,4 @@ void pPrPr_disableITimers (void)
 #  endif
 }
 
-#endif
\ No newline at end of file
+#endif