diff options
author | Peter Zhu <[email protected]> | 2023-01-16 11:50:00 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-01-18 08:49:32 -0500 |
commit | 4fa7d3832427ad5133838bc97be7ab2e4e832f70 (patch) | |
tree | 26cae9920e7b6ae34d06be8e61ba38a1a4d8be8e /internal/class.h | |
parent | e3336e092977473c2c406fbfeb12279ced42102b (diff) |
Don't redefine RB_OBJ_WRITE
RB_OBJ_WRITE already exists in rgengc.h, so we shouldn't redefine it in
gc.h.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7131
Diffstat (limited to 'internal/class.h')
-rw-r--r-- | internal/class.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/class.h b/internal/class.h index 92e018f759..bdc3bdd236 100644 --- a/internal/class.h +++ b/internal/class.h @@ -9,7 +9,6 @@ * @brief Internal header for Class. */ #include "id_table.h" /* for struct rb_id_table */ -#include "internal/gc.h" /* for RB_OBJ_WRITE */ #include "internal/serial.h" /* for rb_serial_t */ #include "internal/static_assert.h" #include "ruby/internal/stdbool.h" /* for bool */ |