Remove dependency on debug_counter.h when BUILDING_MODULAR_GC
This allows the default GC to not need debug_counter.h when building as a modular GC.
This commit is contained in:
parent
3f5080e767
commit
c18bedcdbb
Notes:
git
2025-05-08 14:36:40 +00:00
@ -33,7 +33,13 @@
|
|||||||
# include "probes.h"
|
# include "probes.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "debug_counter.h"
|
#ifdef BUILDING_MODULAR_GC
|
||||||
|
# define RB_DEBUG_COUNTER_INC(_name) ((void)0)
|
||||||
|
# define RB_DEBUG_COUNTER_INC_IF(_name, cond) (!!(cond))
|
||||||
|
#else
|
||||||
|
# include "debug_counter.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "internal/sanitizers.h"
|
#include "internal/sanitizers.h"
|
||||||
|
|
||||||
/* MALLOC_HEADERS_BEGIN */
|
/* MALLOC_HEADERS_BEGIN */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user