mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
187812978a
commit
705b8b41eb
3 changed files with 8 additions and 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>
|
Wed Sep 24 06:41:24 2008 Ryan Davis <ryand-ruby@zenspider.com>
|
||||||
|
|
||||||
* lib/test/*: removed test/unit.
|
* lib/test/*: removed test/unit.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#ifndef RUBY_EVAL_INTERN_H
|
#ifndef RUBY_EVAL_INTERN_H
|
||||||
#define RUBY_EVAL_INTERN_H
|
#define RUBY_EVAL_INTERN_H
|
||||||
|
|
||||||
|
#include "ruby/ruby.h"
|
||||||
#include "vm_core.h"
|
#include "vm_core.h"
|
||||||
|
|
||||||
#define PASS_PASSED_BLOCK_TH(th) do { \
|
#define PASS_PASSED_BLOCK_TH(th) do { \
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
#define RUBY_VM_THREAD_MODEL 2
|
#define RUBY_VM_THREAD_MODEL 2
|
||||||
|
|
||||||
#include <setjmp.h>
|
|
||||||
|
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
#include "ruby/vm.h"
|
#include "ruby/vm.h"
|
||||||
#include "ruby/st.h"
|
#include "ruby/st.h"
|
||||||
|
@ -33,6 +31,7 @@
|
||||||
#error "unsupported thread type"
|
#error "unsupported thread type"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <setjmp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#ifndef NSIG
|
#ifndef NSIG
|
||||||
|
|
Loading…
Reference in a new issue