From: sof Date: Tue, 26 Mar 2002 21:02:19 +0000 (+0000) Subject: [project @ 2002-03-26 21:02:19 by sof] X-Git-Tag: nhc98-1-18-release~1072 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2234743006cfc65b6c716401ece4ef5aba1d0dfa;p=ghc-base.git [project @ 2002-03-26 21:02:19 by sof] cygwin: stick with system() --- diff --git a/cbits/system.c b/cbits/system.c index 6c4e7f5..4d9fb10 100644 --- a/cbits/system.c +++ b/cbits/system.c @@ -1,7 +1,7 @@ /* * (c) The University of Glasgow 2002 * - * $Id: system.c,v 1.5 2002/02/07 11:13:30 simonmar Exp $ + * $Id: system.c,v 1.6 2002/03/26 21:02:19 sof Exp $ * * system Runtime Support */ @@ -20,7 +20,7 @@ HsInt systemCmd(HsAddr cmd) { /* -------------------- WINDOWS VERSION --------------------- */ -#if defined(mingw32_TARGET_OS) +#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) return system(cmd); #else /* -------------------- UNIX VERSION --------------------- */