8000 * vm_core.h: ruby/ruby.h should be included at the very first · documenting-ruby/ruby@705b8b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 705b8b4

Browse files
committed
* 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
1 parent 1878129 commit 705b8b4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Wed Sep 24 07:38:23 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
2+
3+
* vm_core.h: ruby/ruby.h should be included at the very first
4+
place in an entire compilation unit, as it includes
5+
ruby/config.h
6+
17
Wed Sep 24 06:41:24 2008 Ryan Davis <ryand-ruby@zenspider.com>
28

39
* lib/test/*: removed test/unit.

eval_intern.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
21
#ifndef RUBY_EVAL_INTERN_H
32
#define RUBY_EVAL_INTERN_H
43

4+
#include "ruby/ruby.h"
55
#include "vm_core.h"
66

77
#define PASS_PASSED_BLOCK_TH(th) do { \

vm_core.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
#define RUBY_VM_THREAD_MODEL 2
1616

17-
#include <setjmp.h>
18-
1917
#include "ruby/ruby.h"
2018
#include "ruby/vm.h"
2119
#include "ruby/st.h"
@@ -33,6 +31,7 @@
3331
#error "unsupported thread type"
3432
#endif
3533

34+
#include <setjmp.h>
3635
#include <signal.h>
3736

3837
#ifndef NSIG

0 commit comments

Comments
 (0)
0