/*
- * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
+ * (c) The University of Glasgow 2002
*
- * $Id: system.c,v 1.3 2001/08/17 12:50:34 simonmar Exp $
+ * $Id: system.c,v 1.5 2002/02/07 11:13:30 simonmar Exp $
*
* system Runtime Support
*/
/* The itimer stuff in this module is non-posix */
// #include "PosixSource.h"
-#include "HsCore.h"
+#include "HsBase.h"
#if defined(mingw32_TARGET_OS)
#include <windows.h>
+#include <stdlib.h>
#endif
HsInt
{
/* -------------------- WINDOWS VERSION --------------------- */
#if defined(mingw32_TARGET_OS)
- if (system(cmd) < 0) return -1;
- return 0;
+ return system(cmd);
#else
/* -------------------- UNIX VERSION --------------------- */
int pid;