[plt-scheme] Cooperating with 3m

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 4 16:55:58 EST 2006

At Wed, 04 Jan 2006 14:03:38 -0700, Chongkai Zhu wrote:
> Here is the corresponding part of 'scheme.h'
> 
> #ifdef MZ_PRECISE_GC
> # ifndef GC2_EXTERN
> #  define GC2_EXTERN MZ_EXTERN
> # endif
> # ifdef INCLUDE_WITHOUT_PATHS
> #  if SCHEME_DIRECT_EMBEDDED
> #   include "gc2.h"
> #  else
> #   define GC2_JUST_MACROS_AND_TYPEDEFS
> #   include "schemegc2.h"
> #  endif
> # else
> #  include "../gc2/gc2.h"
> # endif

Tthe "gc2.h" should be "schemegc2.h", as in the other branch of that
"#if". I've committed a correction (shuffling the "#if" to avoid
duplicating the #include).

If you need this to work with v300, you might create a "gc2.h" that
simply #includes "schemegc2.h".

Matthew



Posted on the users mailing list.