From: simonmar Date: Mon, 16 Aug 2004 09:31:15 +0000 (+0000) Subject: [project @ 2004-08-16 09:31:15 by simonmar] X-Git-Tag: nhc98-1-18-release~275 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=118d55c1a0379f4a678f42fae9f0a12a0506ae99;p=ghc-base.git [project @ 2004-08-16 09:31:15 by simonmar] #ifdefery to work around change in name of config.h --- diff --git a/cbits/rawSystem.c b/cbits/rawSystem.c index 62d2efd..7a8f1a8 100644 --- a/cbits/rawSystem.c +++ b/cbits/rawSystem.c @@ -1,5 +1,5 @@ /* - * (c) The University of Glasgow 1994-2003 + * (c) The University of Glasgow 1994-2004 * * shell-less system Runtime Support (see System.Cmd.rawSystem). */ @@ -7,7 +7,14 @@ /* The itimer stuff in this module is non-posix */ /* #include "PosixSource.h" */ +/* This ifdef is required because this source might be compiled by an + * external compiler. See ghc/utils/runghc/rawSystem.c for example. + */ +#if __GLASGOW_HASKELL__ < 603 +#include "config.h" +#else #include "ghcconfig.h" +#endif #include #include