summaryrefslogtreecommitdiff
path: root/internal/imemo.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/imemo.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/imemo.h')
-rw-r--r--internal/imemo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index 91b524e0a6..ef07333a58 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -11,7 +11,6 @@
#include "ruby/internal/config.h"
#include <stddef.h> /* for size_t */
#include "internal/array.h" /* for rb_ary_hidden_new_fill */
-#include "internal/gc.h" /* for RB_OBJ_WRITE */
#include "ruby/internal/stdbool.h" /* for bool */
#include "ruby/ruby.h" /* for rb_block_call_func_t */