зеркало из https://github.com/github/ruby.git
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:
Родитель
9c2c2f77ba
Коммит
51edb30042
|
@ -12,9 +12,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include <ruby/io.h>
|
||||
#include "internal.h"
|
||||
#include <ruby/st.h>
|
||||
#include <ruby/io.h>
|
||||
#include <ruby/re.h>
|
||||
#include "node.h"
|
||||
#include "gc.h"
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/debug.h"
|
||||
#include "ruby/io.h"
|
||||
#include "gc.h"
|
||||
#include "node.h"
|
||||
#include "vm_core.h"
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/util.h"
|
||||
|
||||
#include <signal.h>
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
#ifndef RUBY_ENCODING_H
|
||||
#define RUBY_ENCODING_H 1
|
||||
|
||||
#ifdef RUBY_INTERNAL_H
|
||||
#error "Include this file before internal.h"
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#if 0
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
#ifndef RUBY_IO_H
|
||||
#define RUBY_IO_H 1
|
||||
|
||||
#ifdef RUBY_INTERNAL_H
|
||||
#error "Include this file before internal.h"
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#if 0
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
# error too old GCC
|
||||
#endif
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/st.h"
|
||||
#include "ruby/util.h"
|
||||
#include "encindex.h"
|
||||
|
|
|
@ -11,8 +11,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/config.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/util.h"
|
||||
#include "vm_core.h"
|
||||
|
|
3
thread.c
3
thread.c
|
@ -63,10 +63,11 @@
|
|||
|
||||
/* for model 2 */
|
||||
|
||||
#include "ruby/config.h"
|
||||
#include "ruby/io.h"
|
||||
#include "eval_intern.h"
|
||||
#include "gc.h"
|
||||
#include "timev.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/thread_native.h"
|
||||
#include "ruby/debug.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче