ruby-changes:7983
From: shyouhei <ko1@a...>
Date: Wed, 24 Sep 2008 07:44:14 +0900 (JST)
Subject: [ruby-changes:7983] Ruby:r19506 (trunk): * vm_core.h: ruby/ruby.h should be included at the very first
shyouhei 2008-09-24 07:43:53 +0900 (Wed, 24 Sep 2008) New Revision: 19506 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19506 Log: * vm_core.h: ruby/ruby.h should be included at the very first place in an entire compilation unit, as it includes ruby/config.h Modified files: trunk/ChangeLog trunk/eval_intern.h trunk/vm_core.h Index: eval_intern.h =================================================================== --- eval_intern.h (revision 19505) +++ eval_intern.h (revision 19506) @@ -1,7 +1,7 @@ - #ifndef RUBY_EVAL_INTERN_H #define RUBY_EVAL_INTERN_H +#include "ruby/ruby.h" #include "vm_core.h" #define PASS_PASSED_BLOCK_TH(th) do { \ Index: ChangeLog =================================================================== --- ChangeLog (revision 19505) +++ ChangeLog (revision 19506) @@ -1,3 +1,9 @@ +Wed Sep 24 07:38:23 2008 URABE Shyouhei <shyouhei@r...> + + * vm_core.h: ruby/ruby.h should be included at the very first + place in an entire compilation unit, as it includes + ruby/config.h + Wed Sep 24 06:41:24 2008 Ryan Davis <ryand-ruby@z...> * lib/test/*: removed test/unit. Index: vm_core.h =================================================================== --- vm_core.h (revision 19505) +++ vm_core.h (revision 19506) @@ -14,8 +14,6 @@ #define RUBY_VM_THREAD_MODEL 2 -#include <setjmp.h> - #include "ruby/ruby.h" #include "ruby/vm.h" #include "ruby/st.h" @@ -33,6 +31,7 @@ #error "unsupported thread type" #endif +#include <setjmp.h> #include <signal.h> #ifndef NSIG -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/