summaryrefslogtreecommitdiffstats
path: root/lib/kross/ruby/rubyvariant.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/ruby/rubyvariant.h')
-rw-r--r--lib/kross/ruby/rubyvariant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kross/ruby/rubyvariant.h b/lib/kross/ruby/rubyvariant.h
index d0d25759..f36d943c 100644
--- a/lib/kross/ruby/rubyvariant.h
+++ b/lib/kross/ruby/rubyvariant.h
@@ -31,6 +31,7 @@
#include <st.h>
#else // HAVE_RUBY_1_9
#include <ruby/st.h>
+#define STR2CSTR(x) StringValuePtr(x)
#endif // HAVE_RUBY_1_9
//#include <typeinfo>