From: Ivan Maidanski Date: Tue, 25 Jun 2019 21:03:41 +0000 (+0300) Subject: Fix 'redefinition of struct GC_ms_entry' compilation error in gc_priv.h X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31baecf00a425976995eed3a827265b7a0d03ef4;p=gc Fix 'redefinition of struct GC_ms_entry' compilation error in gc_priv.h (fix of commit 38962c655) * include/gc_mark.h [NOT_GCBUILD] (GC_ms_entry): Declare (instead of an opaque struct definition). --- diff --git a/include/gc_mark.h b/include/gc_mark.h index ecc6c8a7..acc3f083 100644 --- a/include/gc_mark.h +++ b/include/gc_mark.h @@ -57,7 +57,7 @@ /* case correctly somehow. */ #define GC_PROC_BYTES 100 -#ifdef GC_BUILD +#if defined(GC_BUILD) || defined(NOT_GCBUILD) struct GC_ms_entry; #else struct GC_ms_entry { void *opaque; };