diff options
author | Peter Zhu <[email protected]> | 2024-12-03 13:30:49 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-12-04 10:25:43 -0500 |
commit | 62b51d9ad7e42090d29ab48a1d5b7ad17313370b (patch) | |
tree | 624ba3c2961ce29a63170a7ddb4a18e336aea5c3 /gc.c | |
parent | f43585b02c3634ab9a4e54049b08e04ab1a640fd (diff) |
Use BUILDING_SHARED_GC instead of RB_AMALGAMATED_DEFAULT_GC
We can use the BUILDING_SHARED_GC flag to check if we're building gc_impl.h
as a shared GC or building the default GC.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12243
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -615,7 +615,6 @@ rb_gc_guarded_ptr_val(volatile VALUE *ptr, VALUE val) #endif static const char *obj_type_name(VALUE obj); -#define RB_AMALGAMATED_DEFAULT_GC #include "gc/default/default.c" #if USE_SHARED_GC && !defined(HAVE_DLOPEN) |