summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 5ee5beea26..ade6a7dda4 100644
--- a/gc.c
+++ b/gc.c
@@ -31,6 +31,8 @@
#include <sys/types.h>
#include <assert.h>
+#undef rb_data_object_alloc
+
#ifndef __has_feature
# define __has_feature(x) 0
#endif