(fix of commit
85e3083ff)
* include/private/gc_priv.h [!GC_BUILD && NOT_GCBUILD] (GC_BUILD): Do
not define.
* tests/disclaim_bench.c (NOT_GCBUILD): Define macro (before include
gc_priv.h); remove outdated comment.
* tests/test.c (NOT_GCBUILD): Likewise.
# include "config.h"
#endif
-#ifndef GC_BUILD
+#if !defined(GC_BUILD) && !defined(NOT_GCBUILD)
# define GC_BUILD
#endif
#include "gc_disclaim.h"
-/* Include gc_priv.h is done after including GC public headers, so */
-/* that GC_BUILD has no effect on the public prototypes. */
+#define NOT_GCBUILD
#include "private/gc_priv.h" /* for CLOCK_TYPE, COVERT_DATAFLOW, GC_random */
#ifdef LINT2
# include "gc_typed.h"
#endif
+#define NOT_GCBUILD
#include "private/gc_priv.h" /* For output, locking, */
/* some statistics and gcconfig.h. */