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

* defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include

config.h and defines.h for autoconf macros.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-07-27 09:33:55 +00:00
parent 592d885caa
commit 58f1d31a1d
7 changed files with 25 additions and 8 deletions

View file

@ -1,3 +1,8 @@
Tue Jul 27 18:33:42 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
config.h and defines.h for autoconf macros.
Tue Jul 27 16:27:38 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* numeric.c (flo_cmp): typo.

View file

@ -17,6 +17,11 @@ extern "C" {
#endif
#endif
#include "ruby/config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#define RUBY
#include <stdlib.h>

View file

@ -21,6 +21,11 @@ extern "C" {
#endif
#endif
#include "ruby/defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#ifdef HAVE_STDARG_PROTOTYPES
# include <stdarg.h>
#else

View file

@ -18,6 +18,11 @@ extern "C" {
#endif
#endif
#include "ruby/config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
#elif !defined(_WIN32)

View file

@ -21,12 +21,10 @@ extern "C" {
#endif
#endif
#ifndef RUBY_LIB_PREFIX
#include "ruby/config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#endif
#define NORETURN_STYLE_NEW 1
#ifndef NORETURN

View file

@ -12,13 +12,7 @@ extern "C" {
#endif
#endif
#ifndef RUBY_LIB_PREFIX
#include "ruby/config.h"
#include "ruby/defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#endif
#if defined STDC_HEADERS
#include <stddef.h>

View file

@ -19,6 +19,11 @@ extern "C" {
#endif
#endif
#include "ruby/defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#ifndef _
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES