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:
parent
9ca5bad2ce
commit
b9a8f9826b
7 changed files with 37 additions and 3 deletions
|
@ -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>
|
Mon Jul 26 18:18:09 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (config.h): add include guard.
|
* configure.in (config.h): add include guard.
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
#ifndef DEFINES_H
|
#ifndef DEFINES_H
|
||||||
#define DEFINES_H
|
#define DEFINES_H
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#ifdef RUBY_EXTCONF_H
|
||||||
|
#include RUBY_EXTCONF_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#define RUBY
|
#define RUBY
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
9
intern.h
9
intern.h
|
@ -11,6 +11,13 @@
|
||||||
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
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
|
* 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 */
|
/* version.c */
|
||||||
void ruby_show_version _((void));
|
void ruby_show_version _((void));
|
||||||
void ruby_show_copyright _((void));
|
void ruby_show_copyright _((void));
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
#ifndef MISSING_H
|
#ifndef MISSING_H
|
||||||
#define MISSING_H
|
#define MISSING_H
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#ifdef RUBY_EXTCONF_H
|
||||||
|
#include RUBY_EXTCONF_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_SYS_TIME_H)
|
#if defined(HAVE_SYS_TIME_H)
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
#elif !defined(_WIN32)
|
#elif !defined(_WIN32)
|
||||||
|
|
5
st.h
5
st.h
|
@ -6,6 +6,11 @@
|
||||||
|
|
||||||
#define ST_INCLUDED
|
#define ST_INCLUDED
|
||||||
|
|
||||||
|
#include "defines.h"
|
||||||
|
#ifdef RUBY_EXTCONF_H
|
||||||
|
#include RUBY_EXTCONF_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#if SIZEOF_LONG == SIZEOF_VOIDP
|
#if SIZEOF_LONG == SIZEOF_VOIDP
|
||||||
typedef unsigned long st_data_t;
|
typedef unsigned long st_data_t;
|
||||||
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
||||||
|
|
5
util.h
5
util.h
|
@ -13,6 +13,11 @@
|
||||||
#ifndef UTIL_H
|
#ifndef UTIL_H
|
||||||
#define UTIL_H
|
#define UTIL_H
|
||||||
|
|
||||||
|
#include "defines.h"
|
||||||
|
#ifdef RUBY_EXTCONF_H
|
||||||
|
#include RUBY_EXTCONF_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
# ifndef HAVE_PROTOTYPES
|
# ifndef HAVE_PROTOTYPES
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.8"
|
#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_VERSION_CODE 188
|
||||||
#define RUBY_RELEASE_CODE 20100726
|
#define RUBY_RELEASE_CODE 20100727
|
||||||
#define RUBY_PATCHLEVEL -1
|
#define RUBY_PATCHLEVEL -1
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 8
|
#define RUBY_VERSION_TEENY 8
|
||||||
#define RUBY_RELEASE_YEAR 2010
|
#define RUBY_RELEASE_YEAR 2010
|
||||||
#define RUBY_RELEASE_MONTH 7
|
#define RUBY_RELEASE_MONTH 7
|
||||||
#define RUBY_RELEASE_DAY 26
|
#define RUBY_RELEASE_DAY 27
|
||||||
|
|
||||||
#define NO_STRING_LITERAL_CONCATENATION 1
|
#define NO_STRING_LITERAL_CONCATENATION 1
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue