From 7e1f33d9f50dcae3eeed6143c602303ac360ba8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 6 Jan 2013 15:23:29 +0100 Subject: [PATCH] Fix kross Ruby 1.9.x FTBFS on armel --- lib/kross/ruby/rubyscript.cpp | 1 - lib/kross/ruby/rubyvariant.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kross/ruby/rubyscript.cpp b/lib/kross/ruby/rubyscript.cpp index 106164c4f..2469706a6 100644 --- a/lib/kross/ruby/rubyscript.cpp +++ b/lib/kross/ruby/rubyscript.cpp @@ -32,7 +32,6 @@ #include #else // HAVE_RUBY_1_9 #include -#define STR2CSTR(x) StringValuePtr(x) #endif // HAVE_RUBY_1_9 #include
diff --git a/lib/kross/ruby/rubyvariant.h b/lib/kross/ruby/rubyvariant.h index d0d257599..f36d943c8 100644 --- a/lib/kross/ruby/rubyvariant.h +++ b/lib/kross/ruby/rubyvariant.h @@ -31,6 +31,7 @@ #include #else // HAVE_RUBY_1_9 #include +#define STR2CSTR(x) StringValuePtr(x) #endif // HAVE_RUBY_1_9 //#include