1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Include ruby/{io,encoding}.h before internal.h

because of r61712 and r61713

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-01-09 12:35:12 +00:00
parent 9c2c2f77ba
commit 51edb30042
8 changed files with 16 additions and 6 deletions

View file

@ -12,9 +12,9 @@
**********************************************************************/ **********************************************************************/
#include <ruby/io.h>
#include "internal.h" #include "internal.h"
#include <ruby/st.h> #include <ruby/st.h>
#include <ruby/io.h>
#include <ruby/re.h> #include <ruby/re.h>
#include "node.h" #include "node.h"
#include "gc.h" #include "gc.h"

View file

@ -12,9 +12,9 @@
**********************************************************************/ **********************************************************************/
#include "ruby/io.h"
#include "internal.h" #include "internal.h"
#include "ruby/debug.h" #include "ruby/debug.h"
#include "ruby/io.h"
#include "gc.h" #include "gc.h"
#include "node.h" #include "node.h"
#include "vm_core.h" #include "vm_core.h"

View file

@ -35,8 +35,8 @@
#endif #endif
#include <ctype.h> #include <ctype.h>
#include "internal.h"
#include "ruby/io.h" #include "ruby/io.h"
#include "internal.h"
#include "ruby/util.h" #include "ruby/util.h"
#include <signal.h> #include <signal.h>

View file

@ -12,6 +12,10 @@
#ifndef RUBY_ENCODING_H #ifndef RUBY_ENCODING_H
#define RUBY_ENCODING_H 1 #define RUBY_ENCODING_H 1
#ifdef RUBY_INTERNAL_H
#error "Include this file before internal.h"
#endif
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#if 0 #if 0

View file

@ -12,6 +12,10 @@
#ifndef RUBY_IO_H #ifndef RUBY_IO_H
#define RUBY_IO_H 1 #define RUBY_IO_H 1
#ifdef RUBY_INTERNAL_H
#error "Include this file before internal.h"
#endif
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#if 0 #if 0

View file

@ -13,8 +13,8 @@
# error too old GCC # error too old GCC
#endif #endif
#include "internal.h"
#include "ruby/io.h" #include "ruby/io.h"
#include "internal.h"
#include "ruby/st.h" #include "ruby/st.h"
#include "ruby/util.h" #include "ruby/util.h"
#include "encindex.h" #include "encindex.h"

View file

@ -11,8 +11,9 @@
**********************************************************************/ **********************************************************************/
#include "internal.h" #include "ruby/config.h"
#include "ruby/io.h" #include "ruby/io.h"
#include "internal.h"
#include "ruby/thread.h" #include "ruby/thread.h"
#include "ruby/util.h" #include "ruby/util.h"
#include "vm_core.h" #include "vm_core.h"

View file

@ -63,10 +63,11 @@
/* for model 2 */ /* for model 2 */
#include "ruby/config.h"
#include "ruby/io.h"
#include "eval_intern.h" #include "eval_intern.h"
#include "gc.h" #include "gc.h"
#include "timev.h" #include "timev.h"
#include "ruby/io.h"
#include "ruby/thread.h" #include "ruby/thread.h"
#include "ruby/thread_native.h" #include "ruby/thread_native.h"
#include "ruby/debug.h" #include "ruby/debug.h"