Interface for code in runProcess.c (providing support for System.Process)
------------------------------------------------------------------------- */
-#if !defined(mingw32_TARGET_OS) && !defined(__MINGW32__)
+#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
typedef pid_t ProcHandle;
#else
// Should really be intptr_t, but we don't have that type on the Haskell side
typedef long ProcHandle;
#endif
-#if !defined(mingw32_TARGET_OS) && !defined(__MINGW32__)
+#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
extern ProcHandle runProcess( char *const args[],
char *workingDirectory, char **environment,
- int fdStdInput, int fdStdOutput, int fdStdError);
+ int fdStdInput, int fdStdOutput, int fdStdError,
+ int set_inthandler, long inthandler,
+ int set_quithandler, long quithandler);
extern ProcHandle runInteractiveProcess( char *const args[],
char *workingDirectory,