diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-01 07:23:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-01 07:23:40 +0000 |
commit | 32d0d609e9fa68c43a6e269e9e3149009f517617 (patch) | |
tree | c9c3d0f9ce9593b30b263050864e5f7a6a33f83d /win32 | |
parent | f2a501261f78c12d381f161302768407bcf86d80 (diff) |
* missing/erf.c: need to include some headers for some platforms.
* win32/win32.h (copysign, scalb): define for compatibility with
other platforms. [ruby-dev:26430]
* missing/crypt.c: modified to make it compilable on platforms
other than BSD. [ruby-dev:26430]
* missing/erf.c: ditto. code from <exp.c> merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 6e0b1fe851..76d10cb50d 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -209,6 +209,12 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int); #ifndef finite #define finite(x) _finite(x) #endif +#ifndef copysign +#define copysign(a, b) _copysign(a, b) +#endif +#ifndef scalb +#define scalb(a, b) _scalb(a, b) +#endif #endif #ifdef __BORLANDC__ |