summaryrefslogtreecommitdiff
path: root/internal/class.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-01-16 11:50:00 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-01-18 08:49:32 -0500
commit4fa7d3832427ad5133838bc97be7ab2e4e832f70 (patch)
tree26cae9920e7b6ae34d06be8e61ba38a1a4d8be8e /internal/class.h
parente3336e092977473c2c406fbfeb12279ced42102b (diff)
downloadruby-4fa7d3832427ad5133838bc97be7ab2e4e832f70.tar.gz
Don't redefine RB_OBJ_WRITE
RB_OBJ_WRITE already exists in rgengc.h, so we shouldn't redefine it in gc.h.
Diffstat (limited to 'internal/class.h')
-rw-r--r--internal/class.h1
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 */