Skip to content
Browse files

MACRUBY_VERSION is now a string

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2858 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 1c7240c commit 941c1e42936d02d8507557fd95fb5e634c61e535 Laurent Sansonetti committed Oct 19, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 version.c
  2. +1 −1 version.h
View
2 version.c
@@ -39,7 +39,7 @@ Init_version(void)
rb_define_global_const("RUBY_ENGINE", MKSTR(engine));
#if WITH_OBJC
rb_define_global_const("RUBY_ARCH", rb_str_new2(RUBY_ARCH));
- rb_define_global_const("MACRUBY_VERSION", rb_float_new(MACRUBY_VERSION));
+ rb_define_global_const("MACRUBY_VERSION", rb_str_new2(MACRUBY_VERSION));
rb_define_global_const("MACRUBY_REVISION", rb_str_new2(MACRUBY_REVISION));
#endif
}
View
2 version.h
@@ -1,5 +1,5 @@
#define RUBY_ENGINE "macruby"
-#define MACRUBY_VERSION 0.5
+#define MACRUBY_VERSION "0.5"
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2008-06-03"

0 comments on commit 941c1e4

Please sign in to comment.
Something went wrong with that request. Please try again.