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/branches/ruby_1_8@28764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-07-27 09:33:55 +00:00
parent 9ca5bad2ce
commit b9a8f9826b
7 changed files with 37 additions and 3 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.
Mon Jul 26 18:18:09 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (config.h): add include guard.

View file

@ -10,6 +10,11 @@
#ifndef DEFINES_H
#define DEFINES_H
#include "config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#define RUBY
#ifdef __cplusplus

View file

@ -11,6 +11,13 @@
Copyright (C) 2000 Information-technology Promotion Agency, Japan
**********************************************************************/
#ifndef INTERN_H
#define INTERN_H
#include "defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
/*
* Functions and variables that are used by more than one source file of
@ -538,3 +545,5 @@ VALUE rb_mod_remove_cvar _((VALUE, VALUE));
/* version.c */
void ruby_show_version _((void));
void ruby_show_copyright _((void));
#endif

View file

@ -12,6 +12,11 @@
#ifndef MISSING_H
#define MISSING_H
#include "config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
#elif !defined(_WIN32)

5
st.h
View file

@ -6,6 +6,11 @@
#define ST_INCLUDED
#include "defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#if SIZEOF_LONG == SIZEOF_VOIDP
typedef unsigned long st_data_t;
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP

5
util.h
View file

@ -13,6 +13,11 @@
#ifndef UTIL_H
#define UTIL_H
#include "defines.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#ifndef _
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.8"
#define RUBY_RELEASE_DATE "2010-07-26"
#define RUBY_RELEASE_DATE "2010-07-27"
#define RUBY_VERSION_CODE 188
#define RUBY_RELEASE_CODE 20100726
#define RUBY_RELEASE_CODE 20100727
#define RUBY_PATCHLEVEL -1
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 8
#define RUBY_RELEASE_YEAR 2010
#define RUBY_RELEASE_MONTH 7
#define RUBY_RELEASE_DAY 26
#define RUBY_RELEASE_DAY 27
#define NO_STRING_LITERAL_CONCATENATION 1
#ifdef RUBY_EXTERN