From: sof Date: Tue, 6 Jul 1999 09:19:47 +0000 (+0000) Subject: [project @ 1999-07-06 09:19:47 by sof] X-Git-Tag: Approximately_9120_patches~6032 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8cf6e22ca206c9e33836b667a32d2719b60ca08a;p=ghc-hetmet.git [project @ 1999-07-06 09:19:47 by sof] Don't include RtsAPI.h when compiling RTS. --- diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 3932cd6..332f515 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.15 1999/07/05 17:25:23 sof Exp $ + * $Id: Stg.h,v 1.16 1999/07/06 09:19:47 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -103,7 +103,9 @@ void _stgAssert (char *, unsigned int); #include "TailCalls.h" /* RTS public interface */ +#ifndef COMPILING_RTS #include "RtsAPI.h" +#endif /* these are all ANSI C headers */ #include