diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval_intern.h | 2 | ||||
-rw-r--r-- | vm_core.h | 3 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Wed Sep 24 07:38:23 2008 URABE Shyouhei <shyouhei@ruby-lang.org> + + * 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@zenspider.com> * lib/test/*: removed test/unit. diff --git a/eval_intern.h b/eval_intern.h index 9444e0798b..a961e8af04 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -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 { \ @@ -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 |