From 0900a2fa9b0b2322ef97e198ae48d0142034fc23 Mon Sep 17 00:00:00 2001 From: sof Date: Sat, 15 Aug 1998 13:05:25 +0000 Subject: [PATCH] [project @ 1998-08-15 13:05:25 by sof] Rearrange (commutative) #ifdefs to ensure that _INFO_MARKING is defined when we come to do 'make clean all' in ghc/runtime, it completes without error. --- ghc/includes/SMinterface.lh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ghc/includes/SMinterface.lh b/ghc/includes/SMinterface.lh index 88a7eb7..4fb03e6 100644 --- a/ghc/includes/SMinterface.lh +++ b/ghc/includes/SMinterface.lh @@ -453,20 +453,19 @@ Each garbage collector requires different garbage collection entries in the info-table. \begin{code} -#if defined(GC2s) -#define _INFO_COPYING -#else -#if defined(GC1s) +#if defined(GCdu) || defined (GCap) || defined (GCgn) +#define _INFO_COPYING #define _INFO_COMPACTING #define _INFO_MARKING - #else -#if defined(GCdu) || defined (GCap) || defined (GCgn) +#if defined(GC2s) #define _INFO_COPYING + +#else +#if defined(GC1s) #define _INFO_COMPACTING #define _INFO_MARKING - #else /* NO_INFO_SPECIFIED (ToDo: an #error ?) */ #endif -- 1.7.10.4