summaryrefslogtreecommitdiff
path: root/internal/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/symbol.h')
-rw-r--r--internal/symbol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/symbol.h b/internal/symbol.h
index 0317f66561..8de6903ae2 100644
--- a/internal/symbol.h
+++ b/internal/symbol.h
@@ -13,6 +13,10 @@
#include "ruby/encoding.h" /* for rb_encoding */
#include "internal/compilers.h" /* for __has_builtin */
+#ifdef rb_sym_intern_ascii_cstr
+# undef rb_sym_intern_ascii_cstr
+#endif
+
/* symbol.c */
VALUE rb_to_symbol_type(VALUE obj);
VALUE rb_sym_intern(const char *ptr, long len, rb_encoding *enc);