Merge pull request #2991 from shyouhei/ruby.h

Split ruby.h
This commit is contained in:
卜部昌平 2020-04-08 13:28:13 +09:00 committed by GitHub
parent 5ac4bf2cd8
commit 9e6e39c351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2020-04-08 13:28:42 +09:00
Merged-By: shyouhei <shyouhei@ruby-lang.org>
383 changed files with 60184 additions and 5439 deletions

View file

@ -29,7 +29,7 @@
static char SCCSid[] = "@(#)alloca.c 1.1"; /* for the "what" utility */
#endif
#include "ruby/config.h"
#include "ruby/3/config.h"
#define X3J11 1 /* config.h should contain void if needed */
#ifdef C_ALLOCA

View file

@ -11,7 +11,7 @@
* Return fd2 if all went well; return BADEXIT otherwise.
*/
#include "ruby/config.h"
#include "ruby/3/config.h"
#if defined(HAVE_FCNTL)
# include <fcntl.h>

View file

@ -1,4 +1,4 @@
#include "ruby/config.h"
#include "ruby/3/config.h"
#include "ruby/ruby.h"
#if defined _WIN32

View file

@ -18,7 +18,7 @@ isinf(double n)
#else
#include "ruby/config.h"
#include "ruby/3/config.h"
#if defined(HAVE_FINITE) && defined(HAVE_ISNAN)

View file

@ -9,7 +9,7 @@ reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
/***********************************************************
gamma.c -- Gamma function
***********************************************************/
#include "ruby/config.h"
#include "ruby/3/config.h"
#include "ruby/missing.h"
#include <math.h>
#include <errno.h>