mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* missing/erf.c: need to include some headers for some platforms.
* win32/win32.c (copysign, scalb): define for compatibility with other platforms. [ruby-dev:26430] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b53e365dc
commit
00e35b4f19
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Fri Jul 1 15:50:12 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* missing/erf.c: need to include some headers for some platforms.
|
||||||
|
|
||||||
|
* win32/win32.c (copysign, scalb): define for compatibility with
|
||||||
|
other platforms. [ruby-dev:26430]
|
||||||
|
|
||||||
Fri Jul 1 15:37:42 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Jul 1 15:37:42 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* missing/crypt.c: modified to make it compilable on platforms
|
* missing/crypt.c: modified to make it compilable on platforms
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
static char sccsid[] = "@(#)erf.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)erf.c 8.1 (Berkeley) 6/4/93";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "config.h"
|
||||||
|
#include "defines.h"
|
||||||
|
|
||||||
#if defined(vax)||defined(tahoe)
|
#if defined(vax)||defined(tahoe)
|
||||||
|
|
||||||
/* Deal with different ways to concatenate in cpp */
|
/* Deal with different ways to concatenate in cpp */
|
||||||
|
|
|
@ -216,6 +216,12 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int);
|
||||||
#ifndef finite
|
#ifndef finite
|
||||||
#define finite(x) _finite(x)
|
#define finite(x) _finite(x)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef copysign
|
||||||
|
#define copysign(a, b) _copysign(a, b)
|
||||||
|
#endif
|
||||||
|
#ifndef scalb
|
||||||
|
#define scalb(a, b) _scalb(a, b)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 && defined __BORLANDC__
|
#if 0 && defined __BORLANDC__
|
||||||
|
|
Loading…
Reference in a new issue